Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 09b05c972085d842ad832655e3ff38b238ce056e..4b6341415243d495bd572f4923997c286d0590e4 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -3022,7 +3022,7 @@ Handle<JSFunction> CompileJSToWasmWrapper( |
return function; |
} |
-Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module, |
+Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, |
Handle<JSFunction> function, |
wasm::FunctionSig* sig, |
wasm::WasmName module_name, |
@@ -3042,7 +3042,6 @@ Handle<Code> CompileWasmToJSWrapper(Isolate* isolate, wasm::ModuleEnv* module, |
WasmGraphBuilder builder(&zone, &jsgraph, sig); |
builder.set_control_ptr(&control); |
builder.set_effect_ptr(&effect); |
- builder.set_module(module); |
builder.BuildWasmToJSWrapper(function, sig); |
Handle<Code> code = Handle<Code>::null(); |