BUG=
TEST=
Review URL: http://codereview.chromium.org/6880312
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7723
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
}
-BinaryOperation::BinaryOperation(Assignment* assignment) {
- ASSERT(assignment->is_compound());
- op_ = assignment->binary_op();
- left_ = assignment->target();
- right_ = assignment->value();
- pos_ = assignment->position();
-}
-
-
// ----------------------------------------------------------------------------
// Inlining support
: AstNode::kNoNumber;
}
- // Create the binary operation corresponding to a compound assignment.
- explicit BinaryOperation(Assignment* assignment);
-
DECLARE_NODE_TYPE(BinaryOperation)
virtual bool IsInlineable() const;