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

Unified Diff: src/compiler.h

Issue 10878047: Revert to code state of 3.13.1 plus r12350 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
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
« no previous file with comments | « src/compilation-cache.h ('k') | src/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler.h
diff --git a/src/compiler.h b/src/compiler.h
index 5d220d32eeb38fae2ad3d32444828109c2587c51..e60e510e143f5eefd263848703670d6af324ba0a 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -139,12 +139,11 @@ class CompilationInfo {
}
bool has_global_object() const {
- return !closure().is_null() &&
- (closure()->context()->global_object() != NULL);
+ return !closure().is_null() && (closure()->context()->global() != NULL);
}
GlobalObject* global_object() const {
- return has_global_object() ? closure()->context()->global_object() : NULL;
+ return has_global_object() ? closure()->context()->global() : NULL;
}
// Accessors for the different compilation modes.
« no previous file with comments | « src/compilation-cache.h ('k') | src/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698