diff options
Diffstat (limited to 'deps/v8/src/ast.cc')
-rw-r--r-- | deps/v8/src/ast.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/deps/v8/src/ast.cc b/deps/v8/src/ast.cc index 7ddb01e3e4..c1ea0a8b3d 100644 --- a/deps/v8/src/ast.cc +++ b/deps/v8/src/ast.cc @@ -125,18 +125,17 @@ Assignment::Assignment(Token::Value op, target_(target), value_(value), pos_(pos), - binary_operation_(NULL), - compound_load_id_(kNoNumber), - assignment_id_(GetNextId()), + compound_bailout_id_(kNoNumber), 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()) { - binary_operation_ = - new BinaryOperation(binary_op(), target, value, pos + 1); - compound_load_id_ = GetNextId(); + compound_bailout_id_ = GetNextId(); } } |