summaryrefslogtreecommitdiff
path: root/src/lj_iropt.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-05-21 00:30:36 +0200
committerMike Pall <mike>2016-05-21 01:00:49 +0200
commit786dbb2ebdde16eadd7464cd5cbeb5d95a5e46f0 (patch)
tree8b66463365b467be31250334ea434a2f572b3c5d /src/lj_iropt.h
parentcfa188f1349ba4c843394b53f270cb64635b9805 (diff)
downloadluajit-786dbb2ebdde16eadd7464cd5cbeb5d95a5e46f0.tar.gz
luajit-786dbb2ebdde16eadd7464cd5cbeb5d95a5e46f0.tar.bz2
luajit-786dbb2ebdde16eadd7464cd5cbeb5d95a5e46f0.zip
Add IR_FLOAD with REF_NIL for field loads from GG_State.
Contributed by Peter Cawley.
Diffstat (limited to 'src/lj_iropt.h')
-rw-r--r--src/lj_iropt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_iropt.h b/src/lj_iropt.h
index 67221c6f..3e758b2e 100644
--- a/src/lj_iropt.h
+++ b/src/lj_iropt.h
@@ -36,6 +36,8 @@ static LJ_AINLINE IRRef lj_ir_nextins(jit_State *J)
36 return ref; 36 return ref;
37} 37}
38 38
39LJ_FUNC TRef lj_ir_ggfload(jit_State *J, IRType t, uintptr_t ofs);
40
39/* Interning of constants. */ 41/* Interning of constants. */
40LJ_FUNC TRef LJ_FASTCALL lj_ir_kint(jit_State *J, int32_t k); 42LJ_FUNC TRef LJ_FASTCALL lj_ir_kint(jit_State *J, int32_t k);
41LJ_FUNC void lj_ir_k64_freeall(jit_State *J); 43LJ_FUNC void lj_ir_k64_freeall(jit_State *J);