<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.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9115
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-05-04 Maciej Stachowiak <mjs@apple.com>
+
+ 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.
+
2005-05-04 Darin Adler <darin@apple.com>
Reviewed by Dave Hyatt.
UndefinedImp::staticUndefined->mark();
if (NullImp::staticNull && !NullImp::staticNull->marked())
NullImp::staticNull->mark();
+ if (NumberImp::staticNaN && !NumberImp::staticNaN->marked())
+ NumberImp::staticNaN->mark();
if (BooleanImp::staticTrue && !BooleanImp::staticTrue->marked())
BooleanImp::staticTrue->mark();
if (BooleanImp::staticFalse && !BooleanImp::staticFalse->marked())