diff options
-rw-r--r-- | src/lj_asm_x86.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index dfc853dd..b7712b36 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h | |||
@@ -1416,7 +1416,7 @@ static void asm_cnew(ASMState *as, IRIns *ir) | |||
1416 | } | 1416 | } |
1417 | #else | 1417 | #else |
1418 | int32_t ofs = sizeof(GCcdata); | 1418 | int32_t ofs = sizeof(GCcdata); |
1419 | if (LJ_HASFFI && sz == 8) { | 1419 | if (sz == 8) { |
1420 | ofs += 4; ir++; | 1420 | ofs += 4; ir++; |
1421 | lua_assert(ir->o == IR_HIOP); | 1421 | lua_assert(ir->o == IR_HIOP); |
1422 | } | 1422 | } |
@@ -1428,11 +1428,11 @@ static void asm_cnew(ASMState *as, IRIns *ir) | |||
1428 | emit_movtomro(as, r, RID_RET, ofs); | 1428 | emit_movtomro(as, r, RID_RET, ofs); |
1429 | rset_clear(allow, r); | 1429 | rset_clear(allow, r); |
1430 | } | 1430 | } |
1431 | if (!LJ_HASFFI || ofs == sizeof(GCcdata)) break; | 1431 | if (ofs == sizeof(GCcdata)) break; |
1432 | ofs -= 4; ir--; | 1432 | ofs -= 4; ir--; |
1433 | } while (1); | 1433 | } while (1); |
1434 | #endif | 1434 | #endif |
1435 | lua_assert(sz == 4 || (sz == 8 && (LJ_64 || LJ_HASFFI))); | 1435 | lua_assert(sz == 4 || sz == 8); |
1436 | } | 1436 | } |
1437 | 1437 | ||
1438 | /* Combine initialization of marked, gct and typeid. */ | 1438 | /* Combine initialization of marked, gct and typeid. */ |