Ignore:
Timestamp:
Apr 19, 2014, 1:36:58 PM (11 years ago)
Author:
[email protected]
Message:

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

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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.