| 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 8449a52ff3bc0f7be4eea87b12795c7842d6a3f0..c67fa5939556c0dc6ddea4387de6b3965e7ef575 100644
|
| --- a/test/cctest/wasm/test-run-wasm-module.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-module.cc
|
| @@ -245,8 +245,8 @@ TEST(Run_WasmModule_Serialization) {
|
| Handle<FixedArray> compiled_part =
|
| handle(FixedArray::cast(module_object->GetInternalField(0)));
|
| Handle<JSObject> instance =
|
| - WasmModule::Instantiate(isolate, compiled_part,
|
| - Handle<JSReceiver>::null(),
|
| + WasmModule::Instantiate(isolate, handle(isolate->context(), isolate),
|
| + compiled_part, Handle<JSReceiver>::null(),
|
| Handle<JSArrayBuffer>::null())
|
| .ToHandleChecked();
|
| Handle<Object> params[1] = {Handle<Object>(Smi::FromInt(41), isolate)};
|
|
|