Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 75de3d6d1ab02563c999a5a3e2c1473cd92d41f5..14257aa22998d69fc922f0f96455071b3aaa2ab6 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1162,16 +1162,13 @@ void V8HeapExplorer::ExtractJSObjectReferences( |
} else if (obj->IsGlobalObject()) { |
GlobalObject* global_obj = GlobalObject::cast(obj); |
SetInternalReference(global_obj, entry, |
- "builtins", global_obj->builtins(), |
- GlobalObject::kBuiltinsOffset); |
- SetInternalReference(global_obj, entry, |
"native_context", global_obj->native_context(), |
GlobalObject::kNativeContextOffset); |
SetInternalReference(global_obj, entry, |
"global_proxy", global_obj->global_proxy(), |
GlobalObject::kGlobalProxyOffset); |
STATIC_ASSERT(GlobalObject::kHeaderSize - JSObject::kHeaderSize == |
- 3 * kPointerSize); |
+ 2 * kPointerSize); |
} else if (obj->IsJSArrayBufferView()) { |
JSArrayBufferView* view = JSArrayBufferView::cast(obj); |
SetInternalReference(view, entry, "buffer", view->buffer(), |