Index: src/profile-generator.cc |
diff --git a/src/profile-generator.cc b/src/profile-generator.cc |
index b5ad87ebef10062016172dab5474cf2dc1062f0c..2b2189630616632ea07c376c647ad6bc252d6665 100644 |
--- a/src/profile-generator.cc |
+++ b/src/profile-generator.cc |
@@ -1982,7 +1982,7 @@ 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_INDEX, GlobalObject, global); |
+ EXTRACT_CONTEXT_FIELD(GLOBAL_OBJECT_INDEX, GlobalObject, global); |
if (context->IsNativeContext()) { |
TagObject(context->jsfunction_result_caches(), |
"(context func. result caches)"); |