http://codereview.chromium.org/548029/diff/4001/4002
File src/ia32/fast-codegen-ia32.cc (right):

http://codereview.chromium.org/548029/diff/4001/4002#newcode1399
src/ia32/fast-codegen-ia32.cc:1399: GenericBinaryOpStub stub(expr->op()
== Token::INC ? Token::ADD : Token::SUB,
On 2010/01/14 16:57:25, Kevin Millikin wrote:
The Assignment class has a function binary_op that returns the binary
op that
corresponds to a compound assignment op.  It might be useful to put
this one in
CountOperation:

Token::Value binary_op() {
   return op_ == Token::INC ? Token::ADD : Token::SUB;
}

Done.

http://codereview.chromium.org/548029
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to