LGTM with a comment.

https://codereview.chromium.org/14296013/diff/1/src/hydrogen-instructions.cc
File src/hydrogen-instructions.cc (right):

https://codereview.chromium.org/14296013/diff/1/src/hydrogen-instructions.cc#newcode1444
src/hydrogen-instructions.cc:1444: return this;
Instead of:
    HArithmeticBinaryOperation::Canonicalize();
    return this;
I would prefer:
    return HArithmeticBinaryOperation::Canonicalize();
Otherwise that could lead to surprising behavior when someone puts more
logic into the superclass function and doesn't notice that callers
ignore the return value.

https://codereview.chromium.org/14296013/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to