diff options
author | Mike Pall <mike> | 2016-05-20 22:41:42 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2016-05-20 22:41:42 +0200 |
commit | 1931b38da5a9ea075df73a966630308d3988bb96 (patch) | |
tree | 3b6d014f6256a78eb2fd270489b8d7dd2183e01e /src/lj_asm.c | |
parent | 475a6ae33fc4b28d4c1c7a5f663ea933e0ccbdfd (diff) | |
download | luajit-1931b38da5a9ea075df73a966630308d3988bb96.tar.gz luajit-1931b38da5a9ea075df73a966630308d3988bb96.tar.bz2 luajit-1931b38da5a9ea075df73a966630308d3988bb96.zip |
LJ_GC64: Introduce IRT_PGC.
Contributed by Peter Cawley.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 94d7bfc4..9cddd0c9 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1055,7 +1055,7 @@ static void asm_bufhdr(ASMState *as, IRIns *ir) | |||
1055 | } | 1055 | } |
1056 | } else { | 1056 | } else { |
1057 | Reg tmp = ra_scratch(as, rset_exclude(RSET_GPR, sb)); | 1057 | Reg tmp = ra_scratch(as, rset_exclude(RSET_GPR, sb)); |
1058 | /* Passing ir isn't strictly correct, but it's an IRT_P32, too. */ | 1058 | /* Passing ir isn't strictly correct, but it's an IRT_PGC, too. */ |
1059 | emit_storeofs(as, ir, tmp, sb, offsetof(SBuf, p)); | 1059 | emit_storeofs(as, ir, tmp, sb, offsetof(SBuf, p)); |
1060 | emit_loadofs(as, ir, tmp, sb, offsetof(SBuf, b)); | 1060 | emit_loadofs(as, ir, tmp, sb, offsetof(SBuf, b)); |
1061 | } | 1061 | } |