summaryrefslogtreecommitdiff
path: root/src/lj_ccall.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-08-10 22:09:14 +0200
committerMike Pall <mike>2011-08-10 22:33:52 +0200
commite8fa76feace720c8348f08fd0e0c9f0656277987 (patch)
tree67b7cb0b9ef18d217dbcc0204a6808f05af39458 /src/lj_ccall.h
parentd84207b8b6b906f9ec6eb1861a9319fb574dd1f8 (diff)
downloadluajit-e8fa76feace720c8348f08fd0e0c9f0656277987.tar.gz
luajit-e8fa76feace720c8348f08fd0e0c9f0656277987.tar.bz2
luajit-e8fa76feace720c8348f08fd0e0c9f0656277987.zip
PPCSPE: Save/restore cr2, cr3 and cr4 when entering/leaving VM.
Diffstat (limited to 'src/lj_ccall.h')
-rw-r--r--src/lj_ccall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ccall.h b/src/lj_ccall.h
index 9a927745..d9b1e42c 100644
--- a/src/lj_ccall.h
+++ b/src/lj_ccall.h
@@ -112,7 +112,7 @@ typedef struct CCallState {
112 uint8_t nfpr; /* Number of arguments in FPRs. */ 112 uint8_t nfpr; /* Number of arguments in FPRs. */
113#elif LJ_TARGET_X86 113#elif LJ_TARGET_X86
114 uint8_t resx87; /* Result on x87 stack: 1:float, 2:double. */ 114 uint8_t resx87; /* Result on x87 stack: 1:float, 2:double. */
115#elif LJ_TARGET_PPC || LJ_TARGET_PPCSPE 115#elif LJ_TARGET_PPC
116 uint8_t nfpr; /* Number of arguments in FPRs. */ 116 uint8_t nfpr; /* Number of arguments in FPRs. */
117#endif 117#endif
118#if CCALL_NUM_FPR 118#if CCALL_NUM_FPR