Ignore:
Timestamp:
Jan 18, 2011, 1:09:29 PM (15 years ago)
Author:
[email protected]
Message:

2011-01-18 Oliver Hunt <[email protected]>

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 <[email protected]>

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):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r75992 r76049  
     12011-01-18  Oliver Hunt  <[email protected]>
     2
     3        Reviewed by Antti Koivisto.
     4
     5        [jsfunfuzz] Assertion in codegen for array of NaN constants
     6        https://bugs.webkit.org/show_bug.cgi?id=52643
     7
     8        Don't cache NaN literals in the code generator, as NaN doesn't compare
     9        as equal to itself it causes problems when rehashing the number cache.
     10
     11        * bytecompiler/BytecodeGenerator.cpp:
     12        (JSC::BytecodeGenerator::emitLoad):
     13
    1142011-01-17  Jarred Nicholls  <[email protected]>
    215
Note: See TracChangeset for help on using the changeset viewer.