| Index: src/runtime/runtime-scopes.cc
|
| diff --git a/src/runtime/runtime-scopes.cc b/src/runtime/runtime-scopes.cc
|
| index b91e58b28d4962f96ebcaf98a719a407d5642d38..a6c2c06ec9868e1c4600a2cf483393c4fc2eb4b7 100644
|
| --- a/src/runtime/runtime-scopes.cc
|
| +++ b/src/runtime/runtime-scopes.cc
|
| @@ -776,7 +776,7 @@ RUNTIME_FUNCTION(Runtime_PushModuleContext) {
|
| Context* previous = isolate->context();
|
| context->set_previous(previous);
|
| context->set_closure(previous->closure());
|
| - context->set_global_object(previous->global_object());
|
| + context->set_native_context(previous->native_context());
|
| isolate->set_context(*context);
|
|
|
| // Find hosting scope and initialize internal variable holding module there.
|
|
|