Status: Accepted Owner: [email protected] Labels: Type-Bug Priority-Medium
New issue 2401 by [email protected]: Check for undefined fails in optimized code
http://code.google.com/p/v8/issues/detail?id=2401 https://github.com/joyent/node/issues/4231 var counter = 0; function it() { if (counter > 100000) return; return ++counter; } function call_iota() { var s = 0; var i = 0; while (i !== undefined) { s += i; i = it(); } return s; } print(call_iota()); Never terminates if crankshaft is enabled. -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
