LJ_GC64: Introduce IRT_PGC.
Contributed by Peter Cawley.
This commit is contained in:
@@ -1055,7 +1055,7 @@ static void asm_bufhdr(ASMState *as, IRIns *ir)
|
||||
}
|
||||
} else {
|
||||
Reg tmp = ra_scratch(as, rset_exclude(RSET_GPR, sb));
|
||||
/* Passing ir isn't strictly correct, but it's an IRT_P32, too. */
|
||||
/* Passing ir isn't strictly correct, but it's an IRT_PGC, too. */
|
||||
emit_storeofs(as, ir, tmp, sb, offsetof(SBuf, p));
|
||||
emit_loadofs(as, ir, tmp, sb, offsetof(SBuf, b));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user