Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: src/type-info.cc

Issue 10832365: Rename Context::global to Context::global_object, (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698