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
This commit is contained in:
parent
03459506e8
commit
cad92b4d33
@ -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 {
|
|||||||
: 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user