Ignore:
Timestamp:
Oct 2, 2017, 2:40:19 PM (8 years ago)
Author:
[email protected]
Message:

Unreviewed. Add missing exception check for the custom-get-set-inline-caching-one-level-up-proto-chain.js
test that I added. It uncovered a pre-existing missing exception check.

  • runtime/JSObject.cpp:

(JSC::JSObject::putInlineSlow):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r222473 r222744  
    785785            if (gs.isCustomGetterSetter()) {
    786786                bool result = callCustomSetter(exec, gs, attributes & PropertyAttribute::CustomAccessor, obj, slot.thisValue(), value);
     787                RETURN_IF_EXCEPTION(scope, false);
    787788                if (attributes & PropertyAttribute::CustomAccessor)
    788789                    slot.setCustomAccessor(obj, jsCast<CustomGetterSetter*>(gs.asCell())->setter());
Note: See TracChangeset for help on using the changeset viewer.