⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 167544 in webkit


Ignore:
Timestamp:
Apr 19, 2014, 1:36:58 PM (12 years ago)
Author:
fpizlo@apple.com
Message:

Address some feedback on https://bugs.webkit.org/show_bug.cgi?id=130684.

  • dfg/DFGOperations.cpp:
  • runtime/JSString.h:

(JSC::JSRopeString::RopeBuilder::append):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r167532 r167544  
     12014-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
    192014-04-18  Mark Lam  <mark.lam@apple.com>
    210
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r167336 r167544  
    972972    if (static_cast<int32_t>(left->length() + right->length()) < 0) {
    973973        throwOutOfMemoryError(exec);
    974         return 0;
     974        return nullptr;
    975975    }
    976976
     
    988988    if (length.hasOverflowed()) {
    989989        throwOutOfMemoryError(exec);
    990         return 0;
     990        return nullptr;
    991991    }
    992992
  • trunk/Source/JavaScriptCore/runtime/JSString.h

    r167336 r167544  
    235235                    expand();
    236236                if (static_cast<int32_t>(m_jsString->length() + jsString->length()) < 0) {
    237                     m_jsString = 0;
     237                    m_jsString = nullptr;
    238238                    return false;
    239239                }
Note: See TracChangeset for help on using the changeset viewer.