aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 8dfe4dd0..286756c6 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1163,7 +1163,7 @@ static void asm_bufhdr(ASMState *as, IRIns *ir)
1163 } else { 1163 } else {
1164 Reg tmp = ra_scratch(as, rset_exclude(RSET_GPR, sb)); 1164 Reg tmp = ra_scratch(as, rset_exclude(RSET_GPR, sb));
1165 /* Passing ir isn't strictly correct, but it's an IRT_PGC, too. */ 1165 /* Passing ir isn't strictly correct, but it's an IRT_PGC, too. */
1166 emit_storeofs(as, ir, tmp, sb, offsetof(SBuf, p)); 1166 emit_storeofs(as, ir, tmp, sb, offsetof(SBuf, w));
1167 emit_loadofs(as, ir, tmp, sb, offsetof(SBuf, b)); 1167 emit_loadofs(as, ir, tmp, sb, offsetof(SBuf, b));
1168 } 1168 }
1169#if LJ_TARGET_X86ORX64 1169#if LJ_TARGET_X86ORX64