Ignore:
Timestamp:
Sep 4, 2015, 8:10:23 PM (10 years ago)
Author:
[email protected]
Message:

Rollout r189411, r189413: Broke JSC tests.

Not reviewed.

  • API/tests/PingPongStackOverflowTest.cpp: Removed.
  • API/tests/PingPongStackOverflowTest.h: Removed.
  • API/tests/testapi.c:

(main):

(JSC::ExecState::operator=):
(JSC::ExecState::callerFrame):
(JSC::ExecState::argIndexForRegister):
(JSC::ExecState::callerFrameOrVMEntryFrame):
(JSC::ExecState::callerFrameAndPC):

  • interpreter/Interpreter.cpp:

(JSC::UnwindFunctor::UnwindFunctor):
(JSC::UnwindFunctor::operator()):
(JSC::Interpreter::unwind):

  • interpreter/Interpreter.h:

(JSC::NativeCallFrameTracer::NativeCallFrameTracer):
(JSC::Interpreter::sampler):

  • jit/CCallHelpers.h:

(JSC::CCallHelpers::jumpToExceptionHandler):

  • jit/JITExceptions.cpp:

(JSC::genericUnwind):

  • jit/JITExceptions.h:
  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_catch):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::emit_op_catch):

  • jit/JITOperations.cpp:
  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
  • runtime/VM.h:

(JSC::VM::exceptionOffset):
(JSC::VM::vmEntryFrameForThrowOffset):
(JSC::VM::topVMEntryFrameOffset):
(JSC::VM::callFrameForThrowOffset):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITExceptions.cpp

    r189411 r189417  
    4141namespace JSC {
    4242
    43 void genericUnwind(VM* vm, ExecState* callFrame, UnwindStart unwindStart)
     43void genericUnwind(VM* vm, ExecState* callFrame)
    4444{
    4545    if (Options::breakOnThrow()) {
     
    5050    Exception* exception = vm->exception();
    5151    RELEASE_ASSERT(exception);
    52     HandlerInfo* handler = vm->interpreter->unwind(*vm, callFrame, exception, unwindStart); // This may update callFrame.
     52    VMEntryFrame* vmEntryFrame = vm->topVMEntryFrame;
     53    HandlerInfo* handler = vm->interpreter->unwind(vmEntryFrame, callFrame, exception); // This may update vmEntryFrame and callFrame.
    5354
    5455    void* catchRoutine;
     
    6465        catchRoutine = LLInt::getCodePtr(handleUncaughtException);
    6566   
     67    vm->vmEntryFrameForThrow = vmEntryFrame;
    6668    vm->callFrameForThrow = callFrame;
    6769    vm->targetMachinePCForThrow = catchRoutine;
Note: See TracChangeset for help on using the changeset viewer.