https://codereview.chromium.org/15769010/diff/1/src/ia32/lithium-codegen-ia32.cc
File src/ia32/lithium-codegen-ia32.cc (right):

https://codereview.chromium.org/15769010/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode1246
src/ia32/lithium-codegen-ia32.cc:1246: int32_t divisor =
HConstant::cast(right)->Integer32Value();
On 2013/06/05 17:08:41, Jakob wrote:
even shorter: right->GetInteger32Constant()

Done. Lame excuse: It has been there before. ;-) Furthermore, there are
21 other places like this, but these should handled in a different
cleanup CL.

Added an Abs template on the way.

https://codereview.chromium.org/15769010/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode1321
src/ia32/lithium-codegen-ia32.cc:1321: __ test(left_reg,
Operand(left_reg));
On 2013/06/05 17:08:41, Jakob wrote:
Why this test? You already know that left_reg == kMinInt at this
point.

Ooops, this is a remnant of several iterations of simplifying things
here. :-/ Done.

https://codereview.chromium.org/15769010/

--
--
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