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)
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>
| Reporter | ||
Updated•16 years ago
|
Flags: wanted1.9.2?
| Reporter | ||
Updated•16 years ago
|
Flags: wanted1.9.2? → blocking1.9.2?
Updated•16 years ago
|
Flags: blocking1.9.2? → blocking1.9.2+
Priority: -- → P2
| Reporter | ||
Comment 1•16 years ago
|
||
(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
| Reporter | ||
Updated•16 years ago
|
Flags: in-testsuite?
| Assignee | ||
Comment 3•16 years ago
|
||
Steps to do:
test on 1.9.1 and 1.9.2 to make sure its WFM there too and then close the bug
Comment 4•16 years ago
|
||
This WFM on trunk and 1.9.2.
Status: NEW → RESOLVED
Closed: 16 years ago
status1.9.2:
--- → beta1-fixed
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•