Ignore:
Timestamp:
Aug 9, 2017, 11:31:24 AM (8 years ago)
Author:
[email protected]
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 <[email protected]> on 2017-08-09
Reviewed by Mark Lam.

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

(JSC::JSObject::putInlineForJSObject):

File:
1 edited

Legend:

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