Closed Bug 581620 Opened 15 years ago Closed 15 years ago

JM: assert in jstest unreachable-yield.js

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dmandelin, Unassigned)

References

Details

The assert happens even if -m is not given. $ JMFLAGS=compile python ../tests/jstests.py -j8 -d shell/js unreachable-yield -so c:\sources\moo\js\src\debug\shell\js -f shell.js -f js1_7\shell.js -f js1_7\geniter\shell.js -f ./js1_7\geniter\unreachable-yield.js rc = -1073741819, run time = 2.019000 begin test: js1_7/geniter/unreachable-yield.js BUGNUMBER: (none) STATUS: Iterator with unreachable yield statement Assertion failure: uintN(gen->savedRegs.sp - fp->slots()) <= fp->script->nslots, at c:/sources/moo/js/src/jsiter.cpp:1271 REGRESSIONS js1_7\geniter\unreachable-yield.js FAIL
5 months later, that assert is gone from jsiter.cpp and the test passes: JMFLAGS=compile python tests/jstests.py -j8 -d debug/js unreachable-yield -so /.../js/src/debug/js -f shell.js -f js1_7/shell.js -f js1_7/geniter/shell.js -f ./js1_7/geniter/unreachable-yield.js rc = 0, run time = 0.032142 BUGNUMBER: (none) STATUS: Iterator with unreachable yield statement PASSED! Iterator with unreachable yield statement PASS
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.