]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Better change the saved regs for the x64 interpreter, too.
authorMike Pall <mike>
Thu, 17 Dec 2009 21:20:31 +0000 (22:20 +0100)
committerMike Pall <mike>
Fri, 18 Dec 2009 02:10:52 +0000 (03:10 +0100)
src/buildvm_x86.dasc

index 23a09bd03138d4fa19f2fe4cc8e593d9e3b72ff9..02fe461b7f4cbf3bd299bbff94c11f3ad5465dfe 100644 (file)
 |
 |.define CFRAME_SPACE, aword*5                 // Delta for rsp (see <--).
 |.macro saveregs
-|  push rbp; push r12; push r13; push rbx
+|  push rbp; push r14; push r15; push rbx
 |  sub rsp, CFRAME_SPACE
 |.endmacro
 |.macro restoreregs
 |  add rsp, CFRAME_SPACE
-|  pop rbx; pop r13; pop r12; pop rbp
+|  pop rbx; pop r15; pop r14; pop rbp
 |.endmacro
 |
 |//----- 16 byte aligned,