Index: src/heap-snapshot-generator.cc |
diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc |
index df99de4d9847b96deff4f4ab73ebd8637180cb46..1a6f14a9ada4c005912afac1bc8a7b44623890d8 100644 |
--- a/src/heap-snapshot-generator.cc |
+++ b/src/heap-snapshot-generator.cc |
@@ -1167,13 +1167,10 @@ void V8HeapExplorer::ExtractJSObjectReferences( |
"native_context", global_obj->native_context(), |
GlobalObject::kNativeContextOffset); |
SetInternalReference(global_obj, entry, |
- "global_context", global_obj->global_context(), |
- GlobalObject::kGlobalContextOffset); |
- SetInternalReference(global_obj, entry, |
"global_proxy", global_obj->global_proxy(), |
GlobalObject::kGlobalProxyOffset); |
STATIC_ASSERT(GlobalObject::kHeaderSize - JSObject::kHeaderSize == |
- 4 * kPointerSize); |
+ 3 * kPointerSize); |
} else if (obj->IsJSArrayBufferView()) { |
JSArrayBufferView* view = JSArrayBufferView::cast(obj); |
SetInternalReference(view, entry, "buffer", view->buffer(), |