Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index 63dab49da520b0f4af73e7bbe3d33d6247581f43..bc6a46b4b664f095e6587ed8fa873df9868b5093 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -557,8 +557,8 @@ bool TypeFeedbackOracle::CanRetainOtherContext(Map* map, |
bool TypeFeedbackOracle::CanRetainOtherContext(JSFunction* function, |
Context* native_context) { |
- return function->context()->global() != native_context->global() |
- && function->context()->global() != native_context->builtins(); |
+ return function->context()->global_object() != native_context->global_object() |
+ && function->context()->global_object() != native_context->builtins(); |
} |