Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 21c03a1b282a85a139762a67d626b13a4067c79d..49057ed0bc2c040de3afc27f18f866fb80a8b4aa 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1248,10 +1248,9 @@ void V8HeapExplorer::ExtractContextReferences(int entry, Context* context) { |
EXTRACT_CONTEXT_FIELD(CLOSURE_INDEX, JSFunction, closure); |
EXTRACT_CONTEXT_FIELD(PREVIOUS_INDEX, Context, previous); |
EXTRACT_CONTEXT_FIELD(EXTENSION_INDEX, Object, extension); |
- EXTRACT_CONTEXT_FIELD(GLOBAL_OBJECT_INDEX, JSGlobalObject, global); |
+ EXTRACT_CONTEXT_FIELD(NATIVE_CONTEXT_INDEX, Context, native_context); |
if (context->IsNativeContext()) { |
TagObject(context->normalized_map_cache(), "(context norm. map cache)"); |
- TagObject(context->runtime_context(), "(runtime context)"); |
TagObject(context->embedder_data(), "(context data)"); |
NATIVE_CONTEXT_FIELDS(EXTRACT_CONTEXT_FIELD) |
EXTRACT_CONTEXT_FIELD(OPTIMIZED_FUNCTIONS_LIST, unused, |