aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2012-07-04 21:14:37 +0200
committerMike Pall <mike>2012-07-04 21:15:15 +0200
commitbd782cedd5079a49e30310837c899e98ce11c95c (patch)
tree2d32558ccf28fdb90897922f29844e06e08f6dbe /src
parentc22d698e17e4f73ee8a146248c49b6dce10d3b74 (diff)
downloadluajit-bd782cedd5079a49e30310837c899e98ce11c95c.tar.gz
luajit-bd782cedd5079a49e30310837c899e98ce11c95c.tar.bz2
luajit-bd782cedd5079a49e30310837c899e98ce11c95c.zip
Bump some limits to accomodate SINK pass.
Diffstat (limited to 'src')
-rw-r--r--src/lj_crecord.c2
-rw-r--r--src/lj_def.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_crecord.c b/src/lj_crecord.c
index 18e1ee13..6cb565c3 100644
--- a/src/lj_crecord.c
+++ b/src/lj_crecord.c
@@ -654,7 +654,7 @@ static void crec_alloc(jit_State *J, RecordFFData *rd, CTypeID id)
654 CTInfo info = lj_ctype_info(cts, id, &sz); 654 CTInfo info = lj_ctype_info(cts, id, &sz);
655 CType *d = ctype_raw(cts, id); 655 CType *d = ctype_raw(cts, id);
656 TRef trid; 656 TRef trid;
657 if (sz == 0 || sz > 64 || (info & CTF_VLA) || ctype_align(info) > CT_MEMALIGN) 657 if (!sz || sz > 128 || (info & CTF_VLA) || ctype_align(info) > CT_MEMALIGN)
658 lj_trace_err(J, LJ_TRERR_NYICONV); /* NYI: large/special allocations. */ 658 lj_trace_err(J, LJ_TRERR_NYICONV); /* NYI: large/special allocations. */
659 trid = lj_ir_kint(J, id); 659 trid = lj_ir_kint(J, id);
660 /* Use special instruction to box pointer or 32/64 bit integer. */ 660 /* Use special instruction to box pointer or 32/64 bit integer. */
diff --git a/src/lj_def.h b/src/lj_def.h
index 27b6d6b7..a7531f10 100644
--- a/src/lj_def.h
+++ b/src/lj_def.h
@@ -80,7 +80,7 @@ typedef unsigned int uintptr_t;
80 80
81/* JIT compiler limits. */ 81/* JIT compiler limits. */
82#define LJ_MAX_JSLOTS 250 /* Max. # of stack slots for a trace. */ 82#define LJ_MAX_JSLOTS 250 /* Max. # of stack slots for a trace. */
83#define LJ_MAX_PHI 32 /* Max. # of PHIs for a loop. */ 83#define LJ_MAX_PHI 64 /* Max. # of PHIs for a loop. */
84#define LJ_MAX_EXITSTUBGR 16 /* Max. # of exit stub groups. */ 84#define LJ_MAX_EXITSTUBGR 16 /* Max. # of exit stub groups. */
85 85
86/* Various macros. */ 86/* Various macros. */