x64: Allow building without external unwinder.

Required for PS4 SDK 2.5. Thanks to James Park.
This commit is contained in:
Mike Pall
2015-06-09 21:56:58 +02:00
parent 69e5342eb8
commit 72347895ed
6 changed files with 37 additions and 8 deletions

View File

@@ -86,7 +86,11 @@ enum {
#define CFRAME_OFS_ERRF (5*4)
#define CFRAME_OFS_NRES (4*4)
#define CFRAME_OFS_MULTRES (1*4)
#if LJ_NO_UNWIND
#define CFRAME_SIZE (12*8)
#else
#define CFRAME_SIZE (10*8)
#endif
#define CFRAME_SIZE_JIT (CFRAME_SIZE + 16)
#define CFRAME_SHIFT_MULTRES 0
#endif