diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_frame.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lj_frame.h b/src/lj_frame.h index a86c36be..aa3ab20b 100644 --- a/src/lj_frame.h +++ b/src/lj_frame.h | |||
@@ -218,6 +218,7 @@ enum { LJ_CONT_TAILCALL, LJ_CONT_FFI_CALLBACK }; /* Special continuations. */ | |||
218 | #define CFRAME_SHIFT_MULTRES 3 | 218 | #define CFRAME_SHIFT_MULTRES 3 |
219 | #endif | 219 | #endif |
220 | #elif LJ_TARGET_MIPS | 220 | #elif LJ_TARGET_MIPS |
221 | #if LJ_ARCH_HASFPU | ||
221 | #define CFRAME_OFS_ERRF 124 | 222 | #define CFRAME_OFS_ERRF 124 |
222 | #define CFRAME_OFS_NRES 120 | 223 | #define CFRAME_OFS_NRES 120 |
223 | #define CFRAME_OFS_PREV 116 | 224 | #define CFRAME_OFS_PREV 116 |
@@ -227,6 +228,16 @@ enum { LJ_CONT_TAILCALL, LJ_CONT_FFI_CALLBACK }; /* Special continuations. */ | |||
227 | #define CFRAME_SIZE 112 | 228 | #define CFRAME_SIZE 112 |
228 | #define CFRAME_SHIFT_MULTRES 3 | 229 | #define CFRAME_SHIFT_MULTRES 3 |
229 | #else | 230 | #else |
231 | #define CFRAME_OFS_ERRF 100 | ||
232 | #define CFRAME_OFS_NRES 96 | ||
233 | #define CFRAME_OFS_PREV 92 | ||
234 | #define CFRAME_OFS_L 88 | ||
235 | #define CFRAME_OFS_PC 44 | ||
236 | #define CFRAME_OFS_MULTRES 16 | ||
237 | #define CFRAME_SIZE 88 | ||
238 | #define CFRAME_SHIFT_MULTRES 3 | ||
239 | #endif | ||
240 | #else | ||
230 | #error "Missing CFRAME_* definitions for this architecture" | 241 | #error "Missing CFRAME_* definitions for this architecture" |
231 | #endif | 242 | #endif |
232 | 243 | ||