diff options
-rw-r--r-- | src/lj_carith.c | 2 | ||||
-rw-r--r-- | src/lj_carith.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_carith.c b/src/lj_carith.c index bba9f6b9..f1435e1e 100644 --- a/src/lj_carith.c +++ b/src/lj_carith.c | |||
@@ -215,7 +215,7 @@ int lj_carith_op(lua_State *L, MMS mm) | |||
215 | 215 | ||
216 | /* -- 64 bit integer arithmetic helpers ----------------------------------- */ | 216 | /* -- 64 bit integer arithmetic helpers ----------------------------------- */ |
217 | 217 | ||
218 | #if LJ_32 | 218 | #if LJ_32 && LJ_HASJIT |
219 | /* Signed/unsigned 64 bit multiplication. */ | 219 | /* Signed/unsigned 64 bit multiplication. */ |
220 | int64_t lj_carith_mul64(int64_t a, int64_t b) | 220 | int64_t lj_carith_mul64(int64_t a, int64_t b) |
221 | { | 221 | { |
diff --git a/src/lj_carith.h b/src/lj_carith.h index faef7a07..c39594ac 100644 --- a/src/lj_carith.h +++ b/src/lj_carith.h | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); | 13 | LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); |
14 | 14 | ||
15 | #if LJ_32 | 15 | #if LJ_32 && LJ_HASJIT |
16 | LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); | 16 | LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); |
17 | #endif | 17 | #endif |
18 | LJ_FUNC uint64_t lj_carith_divu64(uint64_t a, uint64_t b); | 18 | LJ_FUNC uint64_t lj_carith_divu64(uint64_t a, uint64_t b); |