Changeset 220471 in webkit


Ignore:
Timestamp:
Aug 9, 2017 11:31:24 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Make JSC_validateExceptionChecks=1 succeed on JSTests/stress/v8-deltablue-strict.js.
https://bugs.webkit.org/show_bug.cgi?id=175358

Patch by Robin Morisset <rmorisset@apple.com> on 2017-08-09
Reviewed by Mark Lam.

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

(JSC::JSObject::putInlineForJSObject):

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r220465 r220471  
     12017-08-09  Robin Morisset  <rmorisset@apple.com>
     2
     3        Make JSC_validateExceptionChecks=1 succeed on JSTests/stress/v8-deltablue-strict.js.
     4        https://bugs.webkit.org/show_bug.cgi?id=175358
     5
     6        Reviewed by Mark Lam.
     7
     8        * jit/JITOperations.cpp:
     9        * runtime/JSObjectInlines.h:
     10        (JSC::JSObject::putInlineForJSObject):
     11
    1122017-08-09  Ryan Haddad  <ryanhaddad@apple.com>
    213
  • trunk/Source/JavaScriptCore/jit/JITOperations.cpp

    r220081 r220471  
    957957        ASSERT(throwScope.exception() == reinterpret_cast<Exception*>(error));
    958958        if (error) {
    959             throwException(exec, throwScope, error);
    960959            return encodeResult(
    961960                vm->getCTIStub(throwExceptionFromCallSlowPathGenerator).code().executableAddress(),
     
    10151014       
    10161015        JSObject* error = functionExecutable->prepareForExecution<FunctionExecutable>(*vm, callee, scope, kind, codeBlock);
    1017         ASSERT(throwScope.exception() == reinterpret_cast<Exception*>(error));
    1018         if (error) {
    1019             throwException(exec, throwScope, error);
     1016        ASSERT_UNUSED(throwScope, throwScope.exception() == reinterpret_cast<Exception*>(error));
     1017        if (error)
    10201018            return;
    1021         }
    10221019        ArityCheckMode arity;
    10231020        unsigned argumentStackSlots = callLinkInfo->maxNumArguments();
     
    10621059        CodeBlock** codeBlockSlot = execCallee->addressOfCodeBlock();
    10631060        JSObject* error = functionExecutable->prepareForExecution<FunctionExecutable>(*vm, function, scope, kind, *codeBlockSlot);
     1061        ASSERT(throwScope.exception() == reinterpret_cast<Exception*>(error));
    10641062        if (error) {
    1065             throwException(exec, throwScope, error);
    10661063            return encodeResult(
    10671064                vm->getCTIStub(throwExceptionFromCallSlowPathGenerator).code().executableAddress(),
  • trunk/Source/JavaScriptCore/runtime/JSObjectInlines.h

    r218348 r220471  
    219219    }
    220220
     221    scope.release();
    221222    return thisObject->putInlineSlow(exec, propertyName, value, slot);
    222223}
Note: See TracChangeset for help on using the changeset viewer.