diff options
Diffstat (limited to 'src/lj_obj.h')
-rw-r--r-- | src/lj_obj.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h index 88289f3e..19a2345f 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h | |||
@@ -325,8 +325,6 @@ typedef struct GCproto { | |||
325 | #define proto_kgc(pt, idx) \ | 325 | #define proto_kgc(pt, idx) \ |
326 | check_exp((uintptr_t)(intptr_t)(idx) >= (uintptr_t)-(intptr_t)(pt)->sizekgc, \ | 326 | check_exp((uintptr_t)(intptr_t)(idx) >= (uintptr_t)-(intptr_t)(pt)->sizekgc, \ |
327 | gcref(mref((pt)->k, GCRef)[(idx)])) | 327 | gcref(mref((pt)->k, GCRef)[(idx)])) |
328 | #define proto_knum(pt, idx) \ | ||
329 | check_exp((uintptr_t)(idx) < (pt)->sizekn, mref((pt)->k, lua_Number)[(idx)]) | ||
330 | #define proto_knumtv(pt, idx) \ | 328 | #define proto_knumtv(pt, idx) \ |
331 | check_exp((uintptr_t)(idx) < (pt)->sizekn, &mref((pt)->k, TValue)[(idx)]) | 329 | check_exp((uintptr_t)(idx) < (pt)->sizekn, &mref((pt)->k, TValue)[(idx)]) |
332 | #define proto_bc(pt) ((BCIns *)((char *)(pt) + sizeof(GCproto))) | 330 | #define proto_bc(pt) ((BCIns *)((char *)(pt) + sizeof(GCproto))) |