Status: New Owner: ----New issue 1389 by [email protected]: Incorrect result with -always-opt for x++
http://code.google.com/p/v8/issues/detail?id=1389
--
for (var i=0; i<4; i++) {
(function () {
(function () {
(function () {
var x;
y = x++;
print(y);
})();
})()
})();
}
--
With -always-opt this prints:
NaN
undefined
undefined
undefined
It should print NaN.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
