Index: test/common/wasm/wasm-module-runner.cc |
diff --git a/test/common/wasm/wasm-module-runner.cc b/test/common/wasm/wasm-module-runner.cc |
index d099e01bf1fe04b90f90f7932e3b6b06b3fb6ce4..0432caf7049ad51a61cdc46acd66be173465b98f 100644 |
--- a/test/common/wasm/wasm-module-runner.cc |
+++ b/test/common/wasm/wasm-module-runner.cc |
@@ -205,9 +205,7 @@ int32_t CallWasmFunctionForTesting(Isolate* isolate, Handle<JSObject> instance, |
} |
void SetupIsolateForWasmModule(Isolate* isolate) { |
- WasmJs::InstallWasmMapsIfNeeded(isolate, isolate->native_context()); |
- WasmJs::InstallWasmModuleSymbolIfNeeded(isolate, isolate->global_object(), |
- isolate->native_context()); |
+ WasmJs::Install(isolate); |
} |
} // namespace testing |
} // namespace wasm |