Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 1a3f878f8c9d89c82f5a9d0f166cc8e9917b0297..1b1467f9b93a2b77af706ccada911c1ab1da7b73 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -208,8 +208,7 @@ class TestingModule : public ModuleEnv { |
Handle<String> name = isolate_->factory()->NewStringFromStaticChars("main"); |
Handle<JSObject> module_object = Handle<JSObject>(0, isolate_); |
Handle<Code> code = instance->function_code[index]; |
- WasmJs::InstallWasmFunctionMapIfNeeded(isolate_, |
- isolate_->native_context()); |
+ WasmJs::InstallWasmMapsIfNeeded(isolate_, isolate_->native_context()); |
Handle<Code> ret_code = |
compiler::CompileJSToWasmWrapper(isolate_, this, code, index); |
FunctionSig* funcSig = this->module->functions[index].sig; |