Compile fix for Win64 after r154156.

Rubber stamped by Oliver Hunt.

* jit/JITStubsMSVC64.asm:
Renamed ctiVMThrowTrampolineSlowpath to ctiVMHandleException and
cti_vm_throw_slowpath to cti_vm_handle_exception.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a478fdac
2013-08-20 Alex Christensen <achristensen@apple.com>
Compile fix for Win64 after r154156.
Rubber stamped by Oliver Hunt.
* jit/JITStubsMSVC64.asm:
Renamed ctiVMThrowTrampolineSlowpath to ctiVMHandleException and
cti_vm_throw_slowpath to cti_vm_handle_exception.
2013-08-20 Alex Christensen <achristensen@apple.com>
<https://webkit.org/b/120076> More work towards a Win64 build
......
......@@ -24,7 +24,7 @@
;*/
EXTERN cti_vm_throw : near
EXTERN cti_vm_throw_slowpath : near
EXTERN cti_vm_handle_exception : near
PUBLIC ctiTrampoline
PUBLIC ctiVMThrowTrampoline
PUBLIC ctiOpThrowNotCaught
......@@ -69,17 +69,17 @@ ctiVMThrowTrampoline PROC
int 3
ctiVMThrowTrampoline ENDP
ctiVMThrowTrampolineSlowpath PROC
ctiVMHandleException PROC
sub rsp, 16
mov rcx, rsp
mov rdx, r13
call cti_vm_throw_slowpath
; When cti_vm_throw_slowpath returns, rax points to the memory we allocated on stack
call cti_vm_handle_exception
; When cti_vm_handle_exception returns, rax points to the memory we allocated on stack
; It contains the callFrame and handler address
pop rax ; callFrame
pop rdx ; handler
jmp rdx
ctiVMThrowTrampolineSlowpath ENDP
ctiVMHandleException ENDP
ctiOpThrowNotCaught PROC
add rsp, 58h
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment