Status: Accepted
Owner: [email protected]
Labels: Type-Bug Priority-Medium

New issue 2910 by [email protected]: non-smi int32 constants confuse representation inference
http://code.google.com/p/v8/issues/detail?id=2910

function f(x) {
  var k0 = 0xA341316C | 0;
  return ((x << 1) + k0) | 0;
}

var a = 0x20000000;

f(a);
f(a);
f(a);
%OptimizeFunctionOnNextCall(f);
f(a);

addition inside f is not reverted to truncating int32 addition and double addition is used instead

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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