| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index 9754bd6805f716748a8a25dc7ae256aa6ff46990..9640d99ce3753e68b9b40dcc98c0700d20c0466c 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 &&
|
|
|