• msaboff@apple.com's avatar
    JSC: Simplify interface between throw and catch handler · c3101eb3
    msaboff@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=125328
    
    Reviewed by Geoffrey Garen.
    
    Simplified the throw - catch interface.  The throw side is only responsible for
    jumping to the appropriate op_catch handler or returnFromJavaScript for uncaught
    exceptions.  The handler uses the exception values like VM.callFrameForThrow
    as appropriate and no longer relies on the throw side putting anything in
    registers.
    
    * jit/CCallHelpers.h:
    (JSC::CCallHelpers::jumpToExceptionHandler):
    * jit/JITOpcodes.cpp:
    (JSC::JIT::emit_op_catch):
    * jit/JITOpcodes32_64.cpp:
    (JSC::JIT::emit_op_catch):
    * llint/LowLevelInterpreter32_64.asm:
    (_llint_op_catch):
    (_llint_throw_from_slow_path_trampoline):
    * llint/LowLevelInterpreter64.asm:
    (_llint_op_catch):
    (_llint_throw_from_slow_path_trampoline):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c3101eb3
ChangeLog 387 KB