1 ;;===-- X86CompilationCallback_Win64.asm - Implement Win64 JIT callback ---===
3 ;; The LLVM Compiler Infrastructure
5 ;; This file is distributed under the University of Illinois Open Source
6 ;; License. See LICENSE.TXT for details.
8 ;;===----------------------------------------------------------------------===
10 ;; This file implements the JIT interfaces for the X86 target.
12 ;;===----------------------------------------------------------------------===
14 extrn
X86CompilationCallback2: PROC
17 X86CompilationCallback
proc
23 ; Save all int arg registers
29 ; Align stack on 16-byte boundary.
32 ; Save all XMM arg registers
41 ; Pass prev frame and return address
43 mov rdx
, qword ptr [rbp
+8]
44 call X86CompilationCallback2
46 ; Restore all XMM arg registers
55 ; Restore all int arg registers
65 X86CompilationCallback
endp