diff options
Diffstat (limited to 'src/lj_iropt.h')
-rw-r--r-- | src/lj_iropt.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lj_iropt.h b/src/lj_iropt.h index 03029f80..43c414c1 100644 --- a/src/lj_iropt.h +++ b/src/lj_iropt.h | |||
@@ -46,7 +46,7 @@ LJ_FUNC TRef lj_ir_knum_u64(jit_State *J, uint64_t u64); | |||
46 | LJ_FUNC TRef lj_ir_knumint(jit_State *J, lua_Number n); | 46 | LJ_FUNC TRef lj_ir_knumint(jit_State *J, lua_Number n); |
47 | LJ_FUNC TRef lj_ir_kint64(jit_State *J, uint64_t u64); | 47 | LJ_FUNC TRef lj_ir_kint64(jit_State *J, uint64_t u64); |
48 | LJ_FUNC TRef lj_ir_kgc(jit_State *J, GCobj *o, IRType t); | 48 | LJ_FUNC TRef lj_ir_kgc(jit_State *J, GCobj *o, IRType t); |
49 | LJ_FUNC TRef lj_ir_kptr(jit_State *J, void *ptr); | 49 | LJ_FUNC TRef lj_ir_kptr_(jit_State *J, IROp op, void *ptr); |
50 | LJ_FUNC TRef lj_ir_knull(jit_State *J, IRType t); | 50 | LJ_FUNC TRef lj_ir_knull(jit_State *J, IRType t); |
51 | LJ_FUNC TRef lj_ir_kslot(jit_State *J, TRef key, IRRef slot); | 51 | LJ_FUNC TRef lj_ir_kslot(jit_State *J, TRef key, IRRef slot); |
52 | 52 | ||
@@ -66,6 +66,8 @@ static LJ_AINLINE TRef lj_ir_knum(jit_State *J, lua_Number n) | |||
66 | #define lj_ir_kstr(J, str) lj_ir_kgc(J, obj2gco((str)), IRT_STR) | 66 | #define lj_ir_kstr(J, str) lj_ir_kgc(J, obj2gco((str)), IRT_STR) |
67 | #define lj_ir_ktab(J, tab) lj_ir_kgc(J, obj2gco((tab)), IRT_TAB) | 67 | #define lj_ir_ktab(J, tab) lj_ir_kgc(J, obj2gco((tab)), IRT_TAB) |
68 | #define lj_ir_kfunc(J, func) lj_ir_kgc(J, obj2gco((func)), IRT_FUNC) | 68 | #define lj_ir_kfunc(J, func) lj_ir_kgc(J, obj2gco((func)), IRT_FUNC) |
69 | #define lj_ir_kptr(J, ptr) lj_ir_kptr_(J, IR_KPTR, (ptr)) | ||
70 | #define lj_ir_kkptr(J, ptr) lj_ir_kptr_(J, IR_KKPTR, (ptr)) | ||
69 | 71 | ||
70 | /* Special FP constants. */ | 72 | /* Special FP constants. */ |
71 | #define lj_ir_knum_zero(J) lj_ir_knum_u64(J, U64x(00000000,00000000)) | 73 | #define lj_ir_knum_zero(J) lj_ir_knum_u64(J, U64x(00000000,00000000)) |