| 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..7501d08455b3e379a49bb338cb16ae545027555c 100644
|
| --- a/test/cctest/wasm/test-run-wasm-module.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-module.cc
|
| @@ -256,8 +256,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();
|
| }
|
|
|