Index: src/variables.h |
diff --git a/src/variables.h b/src/variables.h |
index e5aee2d3e615189d54c126ddac7902a9d4320ecd..c49bab95da2a7aa9cfab87432bd4089ce2b3349f 100644 |
--- a/src/variables.h |
+++ b/src/variables.h |
@@ -118,6 +118,7 @@ class Variable: public ZoneObject { |
bool IsStackAllocated() const { return IsParameter() || IsStackLocal(); } |
bool IsContextSlot() const { return location_ == CONTEXT; } |
bool IsLookupSlot() const { return location_ == LOOKUP; } |
+ bool IsGlobalObjectProperty() const; |
bool is_dynamic() const { |
return (mode_ == DYNAMIC || |
@@ -132,7 +133,6 @@ class Variable: public ZoneObject { |
return initialization_flag_ == kNeedsInitialization; |
} |
- bool is_global() const; |
bool is_this() const { return kind_ == THIS; } |
bool is_arguments() const { return kind_ == ARGUMENTS; } |