Changeset 58974 in webkit for trunk/JavaScriptCore/runtime
- Timestamp:
- May 7, 2010, 3:18:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/NumberPrototype.cpp
r58970 r58974 162 162 if (v.isInt32()) { 163 163 int x = v.asInt32(); 164 if ( x < 36) {164 if (static_cast<unsigned>(x) < 36) { // Exclude negatives 165 165 JSGlobalData* globalData = &exec->globalData(); 166 166 return globalData->smallStrings.singleCharacterString(globalData, digits[x]);
Note:
See TracChangeset
for help on using the changeset viewer.