On 06/14/2011 05:02 PM, Charles Oliver Nutter wrote:
> Disabled (for perf or incompleteness):
> * Math operator invocations with literal fixnum RHS (incomplete: no guards)

I'm working on an example for the cookbook that
allows integers to overflow to BigInteger and
has special paths when a constant is involved.

The idea is that x + 1 should just test if x equals Integer.MAX_VALUE,
and x+0, 0+x, x- 0 and -1- x need no guard at all
(the last one is due to the way integers are encoded).

Rémi

_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to