Index: src/liveobjectlist.cc |
diff --git a/src/liveobjectlist.cc b/src/liveobjectlist.cc |
index 1aabc59814929e8ffbdaeee15c2b28227b4e10af..6b89cf6839722bf1d4b6faaf3a311af3618f763f 100644 |
--- a/src/liveobjectlist.cc |
+++ b/src/liveobjectlist.cc |
@@ -74,7 +74,7 @@ typedef int (*RawComparer)(const void*, const void*); |
v(SeqAsciiString, "unexpected: SeqAsciiString") \ |
v(SeqString, "unexpected: SeqString") \ |
v(JSFunctionResultCache, "unexpected: JSFunctionResultCache") \ |
- v(GlobalContext, "unexpected: GlobalContext") \ |
+ v(NativeContext, "unexpected: NativeContext") \ |
v(MapCache, "unexpected: MapCache") \ |
v(CodeCacheHashTable, "unexpected: CodeCacheHashTable") \ |
v(CompilationCacheTable, "unexpected: CompilationCacheTable") \ |
@@ -1951,7 +1951,7 @@ MaybeObject* LiveObjectList::GetObjRetainers(int obj_id, |
// Get the constructor function for context extension and arguments array. |
JSObject* arguments_boilerplate = |
- isolate->context()->global_context()->arguments_boilerplate(); |
+ isolate->context()->native_context()->arguments_boilerplate(); |
JSFunction* arguments_function = |
JSFunction::cast(arguments_boilerplate->map()->constructor()); |