Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 56bda6b1a4f8d512fc17b45c3c83b8198599df47..af6f505504f1a08fe1d2b303cae0ff222db7709b 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1423,7 +1423,8 @@ class CountOperation: public Expression { |
expression_(expr), |
pos_(pos), |
assignment_id_(GetNextId()), |
- count_id_(GetNextId()) { } |
+ count_id_(GetNextId()), |
+ receiver_types_(NULL) { } |
DECLARE_NODE_TYPE(CountOperation) |
@@ -1447,6 +1448,7 @@ class CountOperation: public Expression { |
virtual Handle<Map> GetMonomorphicReceiverType() { |
return monomorphic_receiver_type_; |
} |
+ virtual ZoneMapList* GetReceiverTypes() { return receiver_types_; } |
// Bailout support. |
int AssignmentId() const { return assignment_id_; } |
@@ -1461,6 +1463,7 @@ class CountOperation: public Expression { |
int assignment_id_; |
int count_id_; |
Handle<Map> monomorphic_receiver_type_; |
+ ZoneMapList* receiver_types_; |
}; |