Commit 633144e6 authored by sreten.kovacevic's avatar sreten.kovacevic Committed by Commit Bot

MIPS[64]: Fix compilation problem

Fixes problem with compilation in wasm-compiler.cc

Bug: 
Change-Id: I2c38a4235b53467715d2199462d995b012e63bf9
Reviewed-on: https://chromium-review.googlesource.com/819270Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Ivica Bogosavljevic <ivica.bogosavljevic@mips.com>
Cr-Commit-Position: refs/heads/master@{#49993}
parent 9678c532
......@@ -4388,7 +4388,12 @@ Handle<Code> CompileWasmToJSWrapper(
origin == wasm::kAsmJsOrigin ? new (&zone) SourcePositionTable(&graph)
: nullptr;
ModuleEnv env = {nullptr, {}, {}, {}, Handle<Code>(), use_trap_handler};
ModuleEnv env = {nullptr,
std::vector<Address>(),
std::vector<Address>(),
std::vector<Handle<Code>>(),
Handle<Code>(),
use_trap_handler};
WasmGraphBuilder builder(&env, &zone, &jsgraph,
CEntryStub(isolate, 1).GetCode(), sig,
source_position_table);
......@@ -4477,9 +4482,9 @@ Handle<Code> CompileWasmToWasmWrapper(Isolate* isolate, WasmCodeWrapper target,
ModuleEnv env = {
nullptr,
{},
{},
{},
std::vector<Address>(),
std::vector<Address>(),
std::vector<Handle<Code>>(),
Handle<Code>(),
!target.IsCodeObject() && target.GetWasmCode()->HasTrapHandlerIndex()};
WasmGraphBuilder builder(&env, &zone, &jsgraph, Handle<Code>(), sig);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment