| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index b461e2fab7c90eca9823f5180241620a856b53fb..1e788a40361c35522b15aa8be782c95b567f7b5d 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -3004,8 +3004,10 @@ void WasmGraphBuilder::BuildWasmInterpreterEntry(
|
| arg_buffer, // argument buffer
|
| };
|
| BuildCallToRuntime(Runtime::kWasmRunInterpreter, jsgraph(),
|
| - jsgraph()->isolate()->native_context(), parameters,
|
| - arraysize(parameters), effect_, *control_);
|
| + jsgraph()->isolate()->context()
|
| + ? jsgraph()->isolate()->native_context()
|
| + : Handle<Context>::null(),
|
| + parameters, arraysize(parameters), effect_, *control_);
|
|
|
| // Read back the return value.
|
| if (jsgraph()->machine()->Is32() && sig->return_count() > 0 &&
|
|
|