Please review JDK-8035712 at <http://cr.openjdk.java.net/~attila/8035712/webrev.00> for <https://bugs.openjdk.java.net/browse/JDK-8035712>
This change restores some of the pre-static analysis (and pre-optimistic typing) RuntimeCallSite specialization functionality, without actually using RuntimeCallSite. Basically, equality and relational operators where one operand is a number (or boolean for less-than and friends) and the other is an object are executed more efficiently, by weakening the object operand to a number. Previously, this was compiled to boxing the number and using generic ScriptRuntime.EQ, LT, etc. Thanks, Attila.
