Closed Bug 503488 Opened 16 years ago Closed 16 years ago

TM: Different invalid instanceof operand values with JIT off/on

Categories

(Core :: JavaScript Engine, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: gkw, Assigned: gal)

Details

(Keywords: regression, testcase)

v = 0; for each(c in [0, [''], 0, ['']]) { if (++v > 3) { c instanceof(v = c) } } TM branch tip. ===== $ ~/Desktop/tm-30032-c8489ee35bb2/js-dbg-tm-intelmac js> v = 0; 0 js> for each(c in [0, [''], 0, ['']]) { if (++v > 3) { c instanceof(v = c) } } typein:4: TypeError: invalid 'instanceof' operand v js> $ ~/Desktop/tm-30032-c8489ee35bb2/js-dbg-tm-intelmac -j js> v = 0; 0 js> for each(c in [0, [''], 0, ['']]) { if (++v > 3) { c instanceof(v = c) } } typein:4: TypeError: invalid 'instanceof' operand [""] js>
Flags: wanted1.9.2?
Flags: wanted1.9.2? → blocking1.9.2?
Flags: blocking1.9.2? → blocking1.9.2+
Priority: -- → P2
(Not exactly the smallest) regression window: http://hg.mozilla.org/tracemonkey/rev/fb64ba1cb3ad - outputs identical TypeError. http://hg.mozilla.org/tracemonkey/rev/a36145aabfa9 - outputs different TypeError.
Keywords: regression
Flags: in-testsuite?
Gal is going to re-test.
Assignee: general → gal
Steps to do: test on 1.9.1 and 1.9.2 to make sure its WFM there too and then close the bug
This WFM on trunk and 1.9.2.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.