Closed
Bug 503648
Opened 15 years ago
Closed 15 years ago
TM: Different values with testcase containing for...each, const
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 503818
People
(Reporter: gkw, Unassigned)
Details
(Keywords: testcase)
v = 0 let(f = function (g) { for each(let h in g) { const c = (h -= (function () { for each(var d in ['']) { print('' + (h)) } })(v)) } }) { f([0, '', 1e81, '', '', '']) } Note the extra NaN in the JIT output. ===== $ ~/Desktop/tm-30032-c8489ee35bb2/js-opt-tm-intelmac js> v = 0 0 js> let(f = function (g) { for each(let h in g) { const c = (h -= (function () { for each(var d in ['']) { print('' + (h)) } })(v)) } }) { f([0, '', 1e81, '', '', '']) } 0 1e+81 js> $ ~/Desktop/tm-30032-c8489ee35bb2/js-opt-tm-intelmac -j js> v = 0 0 js> let(f = function (g) { for each(let h in g) { const c = (h -= (function () { for each(var d in ['']) { print('' + (h)) } })(v)) } }) { f([0, '', 1e81, '', '', '']) } 0 1e+81 NaN js>
Reporter | ||
Updated•15 years ago
|
Flags: blocking1.9.2?
Comment 1•15 years ago
|
||
Appears to be a dup of bug 503818 based on program form, bug behavior. Also appears to be fixed on tip.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•15 years ago
|
Flags: in-testsuite?
Comment 3•11 years ago
|
||
Bug in removed tracer code, setting in-testsuite- flag.
Flags: in-testsuite? → in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•