Changeset 167544 in webkit
- Timestamp:
- Apr 19, 2014, 1:36:58 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGOperations.cpp (modified) (2 diffs)
-
runtime/JSString.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r167532 r167544 1 2014-04-19 Filip Pizlo <fpizlo@apple.com> 2 3 Address some feedback on https://bugs.webkit.org/show_bug.cgi?id=130684. 4 5 * dfg/DFGOperations.cpp: 6 * runtime/JSString.h: 7 (JSC::JSRopeString::RopeBuilder::append): 8 1 9 2014-04-18 Mark Lam <mark.lam@apple.com> 2 10 -
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r167336 r167544 972 972 if (static_cast<int32_t>(left->length() + right->length()) < 0) { 973 973 throwOutOfMemoryError(exec); 974 return 0;974 return nullptr; 975 975 } 976 976 … … 988 988 if (length.hasOverflowed()) { 989 989 throwOutOfMemoryError(exec); 990 return 0;990 return nullptr; 991 991 } 992 992 -
trunk/Source/JavaScriptCore/runtime/JSString.h
r167336 r167544 235 235 expand(); 236 236 if (static_cast<int32_t>(m_jsString->length() + jsString->length()) < 0) { 237 m_jsString = 0;237 m_jsString = nullptr; 238 238 return false; 239 239 }
Note:
See TracChangeset
for help on using the changeset viewer.