| Index: test/cctest/wasm/test-run-wasm-js.cc
|
| diff --git a/test/cctest/wasm/test-run-wasm-js.cc b/test/cctest/wasm/test-run-wasm-js.cc
|
| index 5fb781171f68922c211d942ee31e6b0df6ba495e..0b3380878105c894ba047e30b6b0e2f16e6dbb22 100644
|
| --- a/test/cctest/wasm/test-run-wasm-js.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-js.cc
|
| @@ -56,7 +56,8 @@ uint32_t AddJsFunction(TestingModule* module, FunctionSig* sig,
|
| module->AddFunction(sig, Handle<Code>::null());
|
| uint32_t index = static_cast<uint32_t>(module->module->functions->size() - 1);
|
| Isolate* isolate = CcTest::InitIsolateOnce();
|
| - Handle<Code> code = CompileWasmToJSWrapper(isolate, module, jsfunc, index);
|
| + Handle<Code> code =
|
| + CompileWasmToJSWrapper(isolate, module, jsfunc, sig, "test");
|
| module->instance->function_code->at(index) = code;
|
| return index;
|
| }
|
|
|