Index: test/cctest/wasm/test-run-wasm-module.cc |
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc |
index 3ca75550edbf112911006b2885893d2ad2ea310f..cdfcf1ffcd969b0357d1499a17d2b9be19dc4dd6 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -14,6 +14,7 @@ |
#include "test/cctest/cctest.h" |
#include "test/cctest/wasm/test-signatures.h" |
+#include "test/cctest/wasm/wasm-module-runner.h" |
using namespace v8::base; |
using namespace v8::internal; |
@@ -256,8 +257,8 @@ TEST(Run_WasmModule_Serialization) { |
Handle<JSArrayBuffer>::null()) |
.ToHandleChecked(); |
Handle<Object> params[1] = {Handle<Object>(Smi::FromInt(41), isolate)}; |
- int32_t result = testing::CallFunction(isolate, instance, &thrower, |
- kFunctionName, 1, params); |
+ int32_t result = testing::CallWasmFunctionForTesting( |
+ isolate, instance, thrower, kFunctionName, 1, params); |
CHECK(result == 42); |
new_ctx->Exit(); |
} |