Closed
Bug 456479
Opened 16 years ago
Closed 16 years ago
TM: correctness bug with undefined turning into NaN
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.9.1b2
People
(Reporter: dvander, Assigned: dvander)
References
Details
(Keywords: verified1.9.1)
Attachments
(1 file)
(deleted),
application/x-javascript
|
Details |
In the fourth run of this loop we have a tree compiled for doubles. undefined gets changed to a NaN and the val is undefined and gets changed to a NaN as well.
NaNs do not compare so a[i] is false with the JIT on, but true with the interpreter (since it is not using doubles).
Comment 1•16 years ago
|
||
Oops, does not depend on bug 456588, since this bug is about missing arguments. This is the t/3d-raytrace.js problem too, though -- bug 454315.
/be
Updated•16 years ago
|
Assignee: general → danderson
Flags: blocking1.9.1?
OS: Mac OS X → All
Hardware: PC → All
Target Milestone: --- → mozilla1.9.1
Updated•16 years ago
|
Flags: blocking1.9.1? → blocking1.9.1+
Priority: -- → P1
Target Milestone: mozilla1.9.1 → mozilla1.9.1b2
Assignee | ||
Comment 2•16 years ago
|
||
Fixed now that multitrees has landed.
Pushed test case as changeset: http://hg.mozilla.org/tracemonkey/rev/e33ca6afff2a
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 3•16 years ago
|
||
please set back to RESOLVED FIXED after landing in mozilla-central. Thanks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•16 years ago
|
||
Already landed in mozilla-central.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
thanks david. what's the easiest way i can tell that is has in the bug? from what i read here, it isnt obvious to me unless i actually had a chance to open up the fix on the trunk.
Assignee | ||
Comment 6•16 years ago
|
||
Hrm, I don't think there's no easy way other than looking at when tm was last pushed to m-c. From the m-c changelog:
e36b9418613b
2008-11-16 02:44 -0500 Robert Sayre - Merge m-c to tracemonkey.
So anything before that date has landed.
Comment 7•16 years ago
|
||
test already in js1_8_1/trace/trace-test.js
Flags: in-testsuite+
Flags: in-litmus-
Updated•16 years ago
|
Keywords: fixed1.9.1
Comment 8•16 years ago
|
||
v 1.9.1, 1.9.2
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•