Ignore:
Timestamp:
Oct 17, 2013, 11:12:28 AM (12 years ago)
Author:
[email protected]
Message:

Transition cti_op_throw and cti_vm_throw to a JIT operation
https://bugs.webkit.org/show_bug.cgi?id=122931

Reviewed by Filip Pizlo.

Moved cti_op_throw to operationThrow. Made the caller responsible for jumping to the
catch handler. Eliminated cti_op_throw_static_error, cti_vm_throw, ctiVMThrowTrampoline()
and their callers as it is now dead code. There is some work needed on the Microsoft X86
callOperation to handle the need to provide space for structure return value.

  • jit/JIT.h:
  • jit/JITInlines.h:

(JSC::JIT::callOperation):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_throw):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::emit_op_throw):
(JSC::JIT::emit_op_catch):

  • jit/JITOperations.cpp:
  • jit/JITOperations.h:
  • jit/JITStubs.cpp:
  • jit/JITStubs.h:
  • jit/JITStubsARM.h:
  • jit/JITStubsARM64.h:
  • jit/JITStubsARMv7.h:
  • jit/JITStubsMIPS.h:
  • jit/JITStubsMSVC64.asm:
  • jit/JITStubsSH4.h:
  • jit/JITStubsX86.h:
  • jit/JITStubsX86_64.h:
  • jit/JSInterfaceJIT.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITStubsMSVC64.asm

    r156671 r157581  
    2929
    3030PUBLIC ctiTrampoline
    31 PUBLIC ctiVMThrowTrampoline
    3231PUBLIC ctiOpThrowNotCaught
    3332PUBLIC getHostCallReturnValue
     
    6766ctiTrampoline ENDP
    6867
    69 ctiVMThrowTrampoline PROC
    70     mov rcx, rsp
    71     call cti_vm_throw
    72     int 3
    73 ctiVMThrowTrampoline ENDP
    74 
    7568ctiVMHandleException PROC
    7669        sub rsp, 16
Note: See TracChangeset for help on using the changeset viewer.