Index: src/profiler/heap-snapshot-generator.cc |
diff --git a/src/profiler/heap-snapshot-generator.cc b/src/profiler/heap-snapshot-generator.cc |
index 66ede205ba9c876ddc11a00cfe6bf1ed2cd50d34..322b164c5ea74be1c6b6a2c244df942be95c3ee4 100644 |
--- a/src/profiler/heap-snapshot-generator.cc |
+++ b/src/profiler/heap-snapshot-generator.cc |
@@ -1248,9 +1248,10 @@ |
EXTRACT_CONTEXT_FIELD(CLOSURE_INDEX, JSFunction, closure); |
EXTRACT_CONTEXT_FIELD(PREVIOUS_INDEX, Context, previous); |
EXTRACT_CONTEXT_FIELD(EXTENSION_INDEX, Object, extension); |
- EXTRACT_CONTEXT_FIELD(NATIVE_CONTEXT_INDEX, Context, native_context); |
+ EXTRACT_CONTEXT_FIELD(GLOBAL_OBJECT_INDEX, JSGlobalObject, global); |
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, |