Index: src/wasm/wasm-objects.cc |
diff --git a/src/wasm/wasm-objects.cc b/src/wasm/wasm-objects.cc |
index 2070decce25be53aca83f56ac5537b50502852f4..a217e6428933acaf99046e86295e6d28ba6dd18d 100644 |
--- a/src/wasm/wasm-objects.cc |
+++ b/src/wasm/wasm-objects.cc |
@@ -450,6 +450,7 @@ Handle<WasmCompiledModule> WasmCompiledModule::New( |
reinterpret_cast<WasmCompiledModule*>(*ret), isolate); |
compiled_module->InitId(); |
compiled_module->set_shared(shared); |
+ compiled_module->set_native_context(isolate->native_context()); |
return compiled_module; |
} |