diff options
author | Mike Pall <mike> | 2011-11-20 19:14:39 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-11-20 19:16:40 +0100 |
commit | cecbe3c15fc62921098f3468b9de86cf0b631b9e (patch) | |
tree | d1b18c59652a3e163ce050e58b7b647fdf312271 /src/lj_ir.h | |
parent | cc7a12be93660677a5128124c11c68127cfe33eb (diff) | |
download | luajit-cecbe3c15fc62921098f3468b9de86cf0b631b9e.tar.gz luajit-cecbe3c15fc62921098f3468b9de86cf0b631b9e.tar.bz2 luajit-cecbe3c15fc62921098f3468b9de86cf0b631b9e.zip |
Specialize to prototype for non-monomorphic functions.
Solves the trace-explosion problem with closure-heavy programming.
Diffstat (limited to 'src/lj_ir.h')
-rw-r--r-- | src/lj_ir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_ir.h b/src/lj_ir.h index 7a9f1a9c..8cf8129f 100644 --- a/src/lj_ir.h +++ b/src/lj_ir.h | |||
@@ -183,6 +183,7 @@ IRFPMDEF(FPMENUM) | |||
183 | #define IRFLDEF(_) \ | 183 | #define IRFLDEF(_) \ |
184 | _(STR_LEN, offsetof(GCstr, len)) \ | 184 | _(STR_LEN, offsetof(GCstr, len)) \ |
185 | _(FUNC_ENV, offsetof(GCfunc, l.env)) \ | 185 | _(FUNC_ENV, offsetof(GCfunc, l.env)) \ |
186 | _(FUNC_PC, offsetof(GCfunc, l.pc)) \ | ||
186 | _(TAB_META, offsetof(GCtab, metatable)) \ | 187 | _(TAB_META, offsetof(GCtab, metatable)) \ |
187 | _(TAB_ARRAY, offsetof(GCtab, array)) \ | 188 | _(TAB_ARRAY, offsetof(GCtab, array)) \ |
188 | _(TAB_NODE, offsetof(GCtab, node)) \ | 189 | _(TAB_NODE, offsetof(GCtab, node)) \ |