Closed Bug 591367 Opened 14 years ago Closed 14 years ago

JM: "Assertion failure: otherReg != testReg,"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: gkw, Assigned: sstangl)

References

Details

(Keywords: assertion, regression, testcase)

Attachments

(1 file)

for (let x in []) {
  t(x !== x)
}

asserts js debug shell on JM changeset 33b05dd43cd4 at Assertion failure: otherReg != testReg, at ../methodjit/FastOps.cpp:1669
Both 'other' and 'test' FrameEntries have the same backing FE, so tempRegForData(other) returns testReg. This is fixed by filling in the missing code in the haveSameBacking() case.
Assignee: general → sstangl
Attachment #469933 - Flags: review?(dvander) → review+
http://hg.mozilla.org/projects/jaegermonkey/rev/088d22176324
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: