Win64 compile fix after r1256490.
authoralex.christensen@flexsim.com <alex.christensen@flexsim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Sep 2013 19:51:43 +0000 (19:51 +0000)
committeralex.christensen@flexsim.com <alex.christensen@flexsim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Sep 2013 19:51:43 +0000 (19:51 +0000)
https://bugs.webkit.org/show_bug.cgi?id=122117

Patch by Alex Christensen <alex.christensen@flexsim.com> on 2013-09-30
Reviewed by Michael Saboff.

* jit/JITStubsMSVC64.asm:
Implemented getHostCallReturnValue for Windows x86_64 processors.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156671 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/jit/JITStubsMSVC64.asm

index 36b4fcd98a6fcff642298f8a9482adb4c3b70355..983305e64cd80cb7aa8aba25ce7ec34deacf8521 100644 (file)
@@ -1,3 +1,13 @@
+2013-09-30  Alex Christensen  <alex.christensen@flexsim.com>
+
+        Win64 compile fix after r1256490.
+        https://bugs.webkit.org/show_bug.cgi?id=122117
+
+        Reviewed by Michael Saboff.
+
+        * jit/JITStubsMSVC64.asm:
+        Implemented getHostCallReturnValue for Windows x86_64 processors.
+
 2013-09-30  Andreas Kling  <akling@apple.com>
 
         Pass VM instead of JSGlobalObject to RegExp constructor.
index f8fb68ccac068c52e1b45725a77097e2d2c98cc0..8955047a04b95ec939d74787334614ba8dfad8d5 100644 (file)
 
 EXTERN cti_vm_throw : near
 EXTERN cti_vm_handle_exception : near
+EXTERN getHostCallReturnValueWithExecState : near
+
 PUBLIC ctiTrampoline
 PUBLIC ctiVMThrowTrampoline
 PUBLIC ctiOpThrowNotCaught
+PUBLIC getHostCallReturnValue
 
 _TEXT   SEGMENT
 
@@ -92,6 +95,12 @@ ctiOpThrowNotCaught PROC
     ret
 ctiOpThrowNotCaught ENDP
 
+getHostCallReturnValue PROC
+    sub r13, 40
+    mov r13, rdi
+    jmp getHostCallReturnValueWithExecState
+getHostCallReturnValue ENDP
+
 _TEXT   ENDS
 
 END
\ No newline at end of file