Closed Bug 461601 Opened 18 years ago Closed 18 years ago

"Assertion failure: pcdepth >= 0" with "for (1() in []) { } 1();"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

for (1() in []) { } 1(); Assertion failure: pcdepth >= 0, at jsopcode.cpp:5205 This is happening under js_DecompileValueGenerator. Opt outputs "TypeError: 1 is not a function" without crashing, which seems correct to me. I'm testing tracemonkey branch.
This works for me with tracemonkey tip.
yep, WFM
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.