Closed
Bug 582185
Opened 14 years ago
Closed 14 years ago
JM: Assertion failure on comparison between object and double in certain cases
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: adrake, Assigned: dvander)
References
Details
Attachments
(1 file)
932 bytes,
patch
|
dvander
:
review-
|
Details | Diff | Splinter Review |
Test case: let c = (this != 4.2); Asserts: Assertion failure: isInt32(), at /home/adrake/src/moo/js/src/jsvalue.h:511 Fails on x86 and x86_64 methodjit.
Reporter | ||
Comment 1•14 years ago
|
||
Fixes the bug and adds it to trace-tests.
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 460472 [details] [diff] [review] Patch. jsop_relational_int() was all we had before the double comparison patch, and (as it still does) handles unknown types. The real bug must be elsewhere.
Attachment #460472 -
Flags: review?(dvander) → review-
Reporter | ||
Comment 4•14 years ago
|
||
(In reply to comment #2) > Comment on attachment 460472 [details] [diff] [review] > Patch. > > jsop_relational_int() was all we had before the double comparison patch, and > (as it still does) handles unknown types. The real bug must be elsewhere. I'm not really sure what you mean -- changeset http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/48742 introduces the jsop_relational_int function and is the first revision to have this regression.
Assignee | ||
Comment 5•14 years ago
|
||
It was jsop_relational() before, it just got renamed to preserve ==, != paths (we don't inline double equality yet).
Assignee | ||
Comment 6•14 years ago
|
||
Stealing - fix was on the right track, jsop_relation_int expects callers to sniff for invalid known types. http://hg.mozilla.org/users/danderson_mozilla.com/moo/rev/c231ac12da6c
Assignee: adrake → dvander
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•