Closed
Bug 642198
Opened 13 years ago
Closed 13 years ago
TI: Assertion failure: !fe->isType(JSVAL_TYPE_DOUBLE), at ./methodjit/FrameState-inl.h:793
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: decoder, Assigned: jandem)
References
Details
(Keywords: assertion, testcase, Whiteboard: fixed-in-jaegermonkey)
Attachments
(1 file, 1 obsolete file)
1.23 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
The following test case (run with -n -a -m) asserts on TI tip (tested on 64 bit): test(); function test() { for (var i = 0; i < 2; ++i) { for (var e = 0; "FUN1 = new Function( 'a','b','c', 'return FUN1.length' ); FUN1.length"; ++e) { } } }
Assignee | ||
Comment 1•13 years ago
|
||
Looks like we should not call syncData for known doubles and known doubles are synced later on. This fixes the assert and passes jit-tests and jstests. Please review carefully, I don't trust my understanding of FrameState.cpp at all.
Assignee: general → jandemooij
Status: NEW → ASSIGNED
Attachment #519757 -
Flags: review?(bhackett1024)
Comment 2•13 years ago
|
||
I think that in the case where fe->isType(JSVAL_TYPE_DOUBLE), you want to call syncFe (which can be done for doubles without eviction) to sync the whole entry at the branch target. After the second pass, all registers required to be synced at the target should have been synced.
Assignee | ||
Comment 3•13 years ago
|
||
As discussed on IRC, we can call syncFe instead of syncData. This fixes the test and passes jit-tests and jstests with -m -n -a. I won't have much time to work on this tomorrow so feel free to steal.
Attachment #519757 -
Attachment is obsolete: true
Attachment #519757 -
Flags: review?(bhackett1024)
Attachment #519781 -
Flags: review?(bhackett1024)
Updated•13 years ago
|
Attachment #519781 -
Flags: review?(bhackett1024) → review+
Comment 4•13 years ago
|
||
http://hg.mozilla.org/projects/jaegermonkey/rev/deb49a09d553
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-jaegermonkey
Reporter | ||
Comment 5•11 years ago
|
||
A testcase for this bug was automatically identified at js/src/jit-test/tests/jaeger/bug642198.js.
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•