Revision: 7723
Author: [email protected]
Date: Fri Apr 29 04:25:01 2011
Log: Remove unused constructor BinaryOperation(Assignment*
compound_assignment).
BUG=
TEST=
Review URL: http://codereview.chromium.org/6880312
http://code.google.com/p/v8/source/detail?r=7723
Modified:
/branches/bleeding_edge/src/ast.cc
/branches/bleeding_edge/src/ast.h
=======================================
--- /branches/bleeding_edge/src/ast.cc Wed Apr 27 08:02:59 2011
+++ /branches/bleeding_edge/src/ast.cc Fri Apr 29 04:25:01 2011
@@ -335,15 +335,6 @@
}
return false;
}
-
-
-BinaryOperation::BinaryOperation(Assignment* assignment) {
- ASSERT(assignment->is_compound());
- op_ = assignment->binary_op();
- left_ = assignment->target();
- right_ = assignment->value();
- pos_ = assignment->position();
-}
//
----------------------------------------------------------------------------
=======================================
--- /branches/bleeding_edge/src/ast.h Thu Apr 28 10:49:55 2011
+++ /branches/bleeding_edge/src/ast.h Fri Apr 29 04:25:01 2011
@@ -1426,9 +1426,6 @@
? static_cast<int>(GetNextId())
: AstNode::kNoNumber;
}
-
- // Create the binary operation corresponding to a compound assignment.
- explicit BinaryOperation(Assignment* assignment);
DECLARE_NODE_TYPE(BinaryOperation)
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev