Changeset 231976 in webkit


Ignore:
Timestamp:
May 18, 2018 11:55:35 AM (6 years ago)
Author:
Yusuke Suzuki
Message:

Unreviewed, fix exception checking, part 2
https://bugs.webkit.org/show_bug.cgi?id=185350

  • dfg/DFGOperations.cpp:

(JSC::DFG::putByValInternal):

  • jit/JITOperations.cpp:
  • runtime/CommonSlowPaths.h:

(JSC::CommonSlowPaths::putDirectAccessorWithReify):

Location:
trunk/Source/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r231961 r231976  
     12018-05-18  Yusuke Suzuki  <utatane.tea@gmail.com>
     2
     3        Unreviewed, fix exception checking, part 2
     4        https://bugs.webkit.org/show_bug.cgi?id=185350
     5
     6        * dfg/DFGOperations.cpp:
     7        (JSC::DFG::putByValInternal):
     8        * jit/JITOperations.cpp:
     9        * runtime/CommonSlowPaths.h:
     10        (JSC::CommonSlowPaths::putDirectAccessorWithReify):
     11
    1122018-05-16  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r231961 r231976  
    146146            return;
    147147        }
     148        scope.release();
    148149        CommonSlowPaths::putDirectWithReify(vm, exec, baseObject, propertyName, value, slot);
    149150        return;
  • trunk/Source/JavaScriptCore/jit/JITOperations.cpp

    r231961 r231976  
    712712        byValInfo->tookSlowPath = true;
    713713
     714    scope.release();
    714715    PutPropertySlot slot(baseObject, isStrictMode);
    715716    CommonSlowPaths::putDirectWithReify(vm, callFrame, baseObject, property, value, slot);
  • trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.h

    r231957 r231976  
    243243    auto scope = DECLARE_THROW_SCOPE(vm);
    244244    if (baseObject->inherits<JSFunction>(vm)) {
    245         auto scope = DECLARE_THROW_SCOPE(vm);
    246245        jsCast<JSFunction*>(baseObject)->reifyLazyPropertyIfNeeded(vm, exec, propertyName);
    247246        RETURN_IF_EXCEPTION(scope, void());
Note: See TracChangeset for help on using the changeset viewer.