Ignore:
Timestamp:
May 4, 2005, 5:29:30 PM (20 years ago)
Author:
mjs
Message:

Reviewed by Darin.

<rdar://problem/4086570> Crash in JavaScriptCore with RSS Visualizer

  • kjs/internal.cpp: (InterpreterImp::mark): mark staticNaN, it is usually protected by the Number prototype but there is a small window where it can get collected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/internal.cpp

    r9033 r9115  
    754754  if (NullImp::staticNull && !NullImp::staticNull->marked())
    755755    NullImp::staticNull->mark();
     756  if (NumberImp::staticNaN && !NumberImp::staticNaN->marked())
     757    NumberImp::staticNaN->mark();
    756758  if (BooleanImp::staticTrue && !BooleanImp::staticTrue->marked())
    757759    BooleanImp::staticTrue->mark();
Note: See TracChangeset for help on using the changeset viewer.