-
oliver@apple.com authored
Reviewed by Antti Koivisto. [jsfunfuzz] Assertion in codegen for array of NaN constants https://bugs.webkit.org/show_bug.cgi?id=52643 Add a testcase to ensure we handle a large number of NaN literals in (0/0 is folded to NaN automatically during parsing). * fast/js/codegen-temporaries-expected.txt: * fast/js/script-tests/codegen-temporaries.js: 2011-01-18 Oliver Hunt <oliver@apple.com> Reviewed by Antti Koivisto. [jsfunfuzz] Assertion in codegen for array of NaN constants https://bugs.webkit.org/show_bug.cgi?id=52643 Don't cache NaN literals in the code generator, as NaN doesn't compare as equal to itself it causes problems when rehashing the number cache. * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitLoad): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
536fb9cb