Closed Bug 811563 Opened 12 years ago Closed 12 years ago

IonMonkey: Differential Testing: Getting different output with parseFloat and sort

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 809021

People

(Reporter: decoder, Unassigned)

References

Details

(Keywords: regression, testcase)

The following testcase shows different behavior with options ---ion-eager vs. no options on m-c revision 1b0226622e94:


function p(a,b,c) { print(c); }
[3,2,3,4].sort(p, parseFloat(".01e+2"));


$ debug64/js --ion-eager test.js
undefined
undefined
6.95318195376814e-310


$ debug64/js test.js
undefined
undefined
undefined
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.