diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_iropt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_iropt.h b/src/lj_iropt.h index ce8b564f..f3d243e0 100644 --- a/src/lj_iropt.h +++ b/src/lj_iropt.h | |||
@@ -49,6 +49,12 @@ LJ_FUNC TRef lj_ir_kptr(jit_State *J, void *ptr); | |||
49 | LJ_FUNC TRef lj_ir_knull(jit_State *J, IRType t); | 49 | LJ_FUNC TRef lj_ir_knull(jit_State *J, IRType t); |
50 | LJ_FUNC TRef lj_ir_kslot(jit_State *J, TRef key, IRRef slot); | 50 | LJ_FUNC TRef lj_ir_kslot(jit_State *J, TRef key, IRRef slot); |
51 | 51 | ||
52 | #if LJ_64 | ||
53 | #define lj_ir_kintp(J, k) lj_ir_kint64(J, (uint64_t)(k)) | ||
54 | #else | ||
55 | #define lj_ir_kintp(J, k) lj_ir_kint(J, (int32_t)(k)) | ||
56 | #endif | ||
57 | |||
52 | static LJ_AINLINE TRef lj_ir_knum(jit_State *J, lua_Number n) | 58 | static LJ_AINLINE TRef lj_ir_knum(jit_State *J, lua_Number n) |
53 | { | 59 | { |
54 | TValue tv; | 60 | TValue tv; |