Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 281c65034e6764a1441d6c008784e0be9a219f05..0c1c61928ec650f1ad9af7b339673e68cee123db 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -9252,7 +9252,7 @@ static ObjectPair LoadContextSlotHelper(Arguments args, |
// GetProperty below can cause GC. |
Handle<Object> receiver_handle( |
object->IsGlobalObject() |
- ? Object::cast(isolate->heap()->the_hole_value()) |
+ ? GlobalObject::cast(*object)->global_receiver() |
: object->IsJSProxy() ? static_cast<Object*>(*object) |
: ComputeReceiverForNonGlobal(isolate, JSObject::cast(*object)), |
isolate); |