Index: src/compiler.h |
diff --git a/src/compiler.h b/src/compiler.h |
index e60e510e143f5eefd263848703670d6af324ba0a..5d220d32eeb38fae2ad3d32444828109c2587c51 100644 |
--- a/src/compiler.h |
+++ b/src/compiler.h |
@@ -139,11 +139,12 @@ class CompilationInfo { |
} |
bool has_global_object() const { |
- return !closure().is_null() && (closure()->context()->global() != NULL); |
+ return !closure().is_null() && |
+ (closure()->context()->global_object() != NULL); |
} |
GlobalObject* global_object() const { |
- return has_global_object() ? closure()->context()->global() : NULL; |
+ return has_global_object() ? closure()->context()->global_object() : NULL; |
} |
// Accessors for the different compilation modes. |