summaryrefslogtreecommitdiff
path: root/src/lj_def.h
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-04 03:08:29 +0100
committerMike Pall <mike>2010-02-04 03:08:29 +0100
commit7256690364a2c9a5e9269ffd89bc132ee188480d (patch)
tree20d8a6a37fb64492e12407ee412b4c2f10137e93 /src/lj_def.h
parent78f5e2ffd34e01626b910341a7808ea4be8a6d0d (diff)
downloadluajit-7256690364a2c9a5e9269ffd89bc132ee188480d.tar.gz
luajit-7256690364a2c9a5e9269ffd89bc132ee188480d.tar.bz2
luajit-7256690364a2c9a5e9269ffd89bc132ee188480d.zip
Add shadow frame link stack for trace recorder.
Simplifies snapshots. Prerequisite for pre-call snapshots. Increases consistency for fast function calls, too.
Diffstat (limited to 'src/lj_def.h')
-rw-r--r--src/lj_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_def.h b/src/lj_def.h
index 872a7830..64b08f7b 100644
--- a/src/lj_def.h
+++ b/src/lj_def.h
@@ -66,6 +66,7 @@ typedef unsigned __int32 uintptr_t;
66 66
67/* JIT compiler limits. */ 67/* JIT compiler limits. */
68#define LJ_MAX_JSLOTS 250 /* Max. # of stack slots for a trace. */ 68#define LJ_MAX_JSLOTS 250 /* Max. # of stack slots for a trace. */
69#define LJ_MAX_JFRAME 20 /* Max. # of frames for a trace. */
69#define LJ_MAX_PHI 32 /* Max. # of PHIs for a loop. */ 70#define LJ_MAX_PHI 32 /* Max. # of PHIs for a loop. */
70#define LJ_MAX_EXITSTUBGR 8 /* Max. # of exit stub groups. */ 71#define LJ_MAX_EXITSTUBGR 8 /* Max. # of exit stub groups. */
71 72