Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 0bbb90452a674c21619b8abc167594a1fc63f4b8..eb45e83ef778fe9bcda9d8ee77714acea1184220 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1948,6 +1948,10 @@ class BinaryOperation V8_FINAL : public Expression { |
Token::Value op() const { return op_; } |
Expression* left() const { return left_; } |
Expression* right() const { return right_; } |
+ Handle<AllocationSite> allocation_site() const { return allocation_site_; } |
+ void set_allocation_site(Handle<AllocationSite> allocation_site) { |
+ allocation_site_ = allocation_site; |
+ } |
BailoutId RightId() const { return right_id_; } |
@@ -1976,6 +1980,7 @@ class BinaryOperation V8_FINAL : public Expression { |
Token::Value op_; |
Expression* left_; |
Expression* right_; |
+ Handle<AllocationSite> allocation_site_; |
// TODO(rossberg): the fixed arg should probably be represented as a Constant |
// type for the RHS. |