Reviewed by Darin.
[WebKit-https.git] / JavaScriptCore / kjs / internal.cpp
index 40477f751a04f63edbb533ef11b197b816f9e35a..12adc7786212d59e54998b9d48d0587932e11bfa 100644 (file)
@@ -753,6 +753,8 @@ void InterpreterImp::mark()
     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())