Commit cad92b4d authored by whesse@chromium.org's avatar whesse@chromium.org

Remove unused constructor BinaryOperation(Assignment* compound_assignment).

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
parent 03459506
...@@ -337,15 +337,6 @@ bool BinaryOperation::ResultOverwriteAllowed() { ...@@ -337,15 +337,6 @@ bool BinaryOperation::ResultOverwriteAllowed() {
} }
BinaryOperation::BinaryOperation(Assignment* assignment) {
ASSERT(assignment->is_compound());
op_ = assignment->binary_op();
left_ = assignment->target();
right_ = assignment->value();
pos_ = assignment->position();
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Inlining support // Inlining support
......
...@@ -1427,9 +1427,6 @@ class BinaryOperation: public Expression { ...@@ -1427,9 +1427,6 @@ class BinaryOperation: public Expression {
: AstNode::kNoNumber; : AstNode::kNoNumber;
} }
// Create the binary operation corresponding to a compound assignment.
explicit BinaryOperation(Assignment* assignment);
DECLARE_NODE_TYPE(BinaryOperation) DECLARE_NODE_TYPE(BinaryOperation)
virtual bool IsInlineable() const; virtual bool IsInlineable() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment