<rdar://problem/5759327> REGRESSION: while(NaN) acts like while(true)
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Feb 2008 10:27:12 +0000 (10:27 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Feb 2008 10:27:12 +0000 (10:27 +0000)
commit54a7ac64c3120a9db4674e9850d6d7243b4e8d45
treea353fba2a982889447b6e4ec03b0cfd7b7ae1d3d
parent934567d05c7a6da7eed8b0ae73cdf14583bb2522
<rdar://problem/5759327> REGRESSION: while(NaN) acts like while(true)

Reviewed by Alexey P.

Fix yet another case where we incorrectly relied on implicit double
to bool coercion.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/nodes.cpp
LayoutTests/ChangeLog
LayoutTests/fast/js/convert-nan-to-bool-expected.txt
LayoutTests/fast/js/resources/convert-nan-to-bool.js