Closed Bug 740445 Opened 9 years ago Closed 9 years ago

ALIASEDVAR Patch: Assertion failure: op == JSOP_LOCALINC || op == JSOP_INCLOCAL || op == JSOP_LOCALDEC || op == JSOP_DECLOCAL || op == JSOP_ARGINC || op == JSOP_INCARG || op == JSOP_ARGDEC || op == JSOP_DECARG, at methodjit/InvokeHelpers.cpp:729

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: decoder, Assigned: luke)

References

Details

(Keywords: assertion, testcase)

The following test asserts on mozilla-central revision 7ed31daf07bd with patch from bug 740259 (options -m -n -a):


function testMethodInit() {
    function o() {}
    function k() {
        for (i = 0; i < this.depth; ++i) {}
    }
    for (var i = 0; i < 10; i++)
        (i) = {o: o, k: k};
}
testMethodInit();
Duplicate of this bug: 740442
Decomposing JSOP_ALIASEDVARINC et al (as is done with PROPINC and ELEMINC) fixed this and 740442.  Rolling the fix and tests back into bug 740259.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 740259
Fixed by patch in bug 740259 -> FIXED
Resolution: DUPLICATE → FIXED
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug740445.js.
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.