Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index c1ea0a8b3df790a271143bd8044e09b7964dfc5f..7ddb01e3e4d55f6a6e9d36e7d173a11c2989c4c4 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -125,17 +125,18 @@ Assignment::Assignment(Token::Value op, |
target_(target), |
value_(value), |
pos_(pos), |
- compound_bailout_id_(kNoNumber), |
+ binary_operation_(NULL), |
+ compound_load_id_(kNoNumber), |
+ assignment_id_(GetNextId()), |
block_start_(false), |
block_end_(false), |
is_monomorphic_(false), |
receiver_types_(NULL) { |
ASSERT(Token::IsAssignmentOp(op)); |
- binary_operation_ = is_compound() |
- ? new BinaryOperation(binary_op(), target, value, pos + 1) |
- : NULL; |
if (is_compound()) { |
- compound_bailout_id_ = GetNextId(); |
+ binary_operation_ = |
+ new BinaryOperation(binary_op(), target, value, pos + 1); |
+ compound_load_id_ = GetNextId(); |
} |
} |