| 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.
|
|
|