| 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 76091fe7bdeaaac60d5413cd507666b8c5a4b7a5..c4c7187af5588a857fa80da4050809861ce66cc9 100644
|
| --- a/test/cctest/wasm/test-run-wasm-js.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-js.cc
|
| @@ -55,7 +55,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;
|
| }
|
|
|