RFR: 8170322: Specialized functions convert booleans to numbers
Hannes Wallnöfer
hannes.wallnoefer at oracle.com
Fri Nov 25 11:52:03 UTC 2016
Please review:
Bug: https://bugs.openjdk.java.net/browse/JDK-8170322
Webrev: http://cr.openjdk.java.net/~hannesw/8170322/webrev/
This adds a new „convertsNumericArgs“ property to the SpecializedFunction annotation that defines whether it is safe to convert non-numeric arguments for this function to numbers. This is used at link time to decide whether the specialised function can be used with a boolean parameter. I also removed a few specialised functions with long parameters which are no longer in use.
Thanks,
Hannes
More information about the nashorn-dev
mailing list