Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index ed447e343af26c4e5a91dcc5cf91237d9a70c6fb..da038f383a64c940b12a38808fa78f02b5519aad 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1208,6 +1208,7 @@ class Property: public Expression { |
is_monomorphic_(false), |
receiver_types_(NULL), |
is_array_length_(false), |
+ is_function_prototype_(false), |
is_arguments_access_(false) { } |
DECLARE_NODE_TYPE(Property) |
@@ -1220,6 +1221,8 @@ class Property: public Expression { |
int position() const { return pos_; } |
bool is_synthetic() const { return type_ == SYNTHETIC; } |
+ bool IsFunctionPrototype() const { return is_function_prototype_; } |
+ |
// Marks that this is actually an argument rewritten to a keyed property |
// accessing the argument through the arguments shadow object. |
void set_is_arguments_access(bool is_arguments_access) { |
@@ -1249,6 +1252,7 @@ class Property: public Expression { |
bool is_monomorphic_; |
ZoneMapList* receiver_types_; |
bool is_array_length_; |
+ bool is_function_prototype_; |
bool is_arguments_access_; |
Handle<Map> monomorphic_receiver_type_; |