зеркало из https://github.com/mozilla/gecko-dev.git
Raise ARM and MIPS NJ_MAX_STACK_ENTRY to 4096 (bug 556175 r=Jacob.Bramley+)
--HG-- extra : convert_revision : 7a068ed450bb6ba47d8a5ab2586487a1b37ba8db
This commit is contained in:
Родитель
9dba85da38
Коммит
78e0d2a1f2
|
@ -65,7 +65,7 @@ namespace nanojit
|
|||
// only d0-d6 are actually used; we'll use d7 as s14-s15 for i2f/u2f/etc.
|
||||
#define NJ_VFP_MAX_REGISTERS 8
|
||||
#define NJ_MAX_REGISTERS (11 + NJ_VFP_MAX_REGISTERS)
|
||||
#define NJ_MAX_STACK_ENTRY 256
|
||||
#define NJ_MAX_STACK_ENTRY 4096
|
||||
#define NJ_MAX_PARAMETERS 16
|
||||
#define NJ_ALIGN_STACK 8
|
||||
|
||||
|
|
|
@ -58,9 +58,9 @@ namespace nanojit
|
|||
// Req: NJ_MAX_STACK_ENTRY is number of instructions to hold in LIR stack
|
||||
#if 0
|
||||
// FIXME: Inconsistent use in signed/unsigned expressions makes this generate errors
|
||||
static const uint32_t NJ_MAX_STACK_ENTRY = 256;
|
||||
static const uint32_t NJ_MAX_STACK_ENTRY = 4096;
|
||||
#else
|
||||
#define NJ_MAX_STACK_ENTRY 256
|
||||
#define NJ_MAX_STACK_ENTRY 4096
|
||||
#endif
|
||||
static const int NJ_ALIGN_STACK = 8;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче