Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 6ebc5b57350792df558f704871d3007e5a749332..e90c2caa2b496f66929ce41d974a7f435b14020d 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -4542,7 +4542,7 @@ Genesis::Genesis(Isolate* isolate, |
factory()->ReinitializeJSGlobalProxy(global_proxy, global_proxy_function); |
// HookUpGlobalProxy. |
- global_proxy->set_native_context(*factory()->null_value()); |
+ global_proxy->set_native_context(heap()->null_value()); |
// DetachGlobal. |
JSObject::ForceSetPrototype(global_proxy, factory()->null_value()); |