Ignore:
Timestamp:
Sep 14, 2015, 9:05:10 PM (10 years ago)
Author:
[email protected]
Message:

rename callFrameForThrow to callFrameForCatch
https://bugs.webkit.org/show_bug.cgi?id=149136

Patch by Saam barati <[email protected]> on 2015-09-14
Reviewed by Michael Saboff.

We use "callFrameForThrow" to mean the call frame in
which we're catching the exception. The field name
should accurately represent its purpose by being
named "callFrameForCatch".

  • jit/CCallHelpers.h:

(JSC::CCallHelpers::jumpToExceptionHandler):

  • jit/JITExceptions.cpp:

(JSC::genericUnwind):

  • 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::callFrameForCatchOffset):
(JSC::VM::targetMachinePCForThrowOffset):
(JSC::VM::callFrameForThrowOffset): Deleted.

File:
1 edited

Legend:

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

    r189454 r189775  
    6464        catchRoutine = LLInt::getCodePtr(handleUncaughtException);
    6565   
    66     vm->callFrameForThrow = callFrame;
     66    vm->callFrameForCatch = callFrame;
    6767    vm->targetMachinePCForThrow = catchRoutine;
    6868    vm->targetInterpreterPCForThrow = catchPCForInterpreter;
Note: See TracChangeset for help on using the changeset viewer.