Changeset 64706 in webkit for trunk/JavaScriptCore/API/JSValueRef.cpp
- Timestamp:
- Aug 4, 2010, 9:52:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSValueRef.cpp
r59941 r64706 214 214 APIEntryShim entryShim(exec); 215 215 216 // Our JSValue representation relies on a standard bit pattern for NaN. NaNs 217 // generated internally to JavaScriptCore naturally have that representation, 218 // but an external NaN might not. 219 if (isnan(value)) 220 value = NaN; 221 216 222 return toRef(exec, jsNumber(exec, value)); 217 223 }
Note:
See TracChangeset
for help on using the changeset viewer.