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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 9dae2707..fae5b241 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1145,6 +1145,9 @@ static void asm_gcstep(ASMState *as, IRIns *ir)
1145/* -- Buffer operations --------------------------------------------------- */ 1145/* -- Buffer operations --------------------------------------------------- */
1146 1146
1147static void asm_tvptr(ASMState *as, Reg dest, IRRef ref, MSize mode); 1147static void asm_tvptr(ASMState *as, Reg dest, IRRef ref, MSize mode);
1148#if LJ_HASBUFFER
1149static void asm_bufhdr_write(ASMState *as, Reg sb);
1150#endif
1148 1151
1149static void asm_bufhdr(ASMState *as, IRIns *ir) 1152static void asm_bufhdr(ASMState *as, IRIns *ir)
1150{ 1153{
@@ -1172,6 +1175,11 @@ static void asm_bufhdr(ASMState *as, IRIns *ir)
1172 } 1175 }
1173 break; 1176 break;
1174 } 1177 }
1178#if LJ_HASBUFFER
1179 case IRBUFHDR_WRITE:
1180 asm_bufhdr_write(as, sb);
1181 break;
1182#endif
1175 default: lj_assertA(0, "bad BUFHDR op2 %d", ir->op2); break; 1183 default: lj_assertA(0, "bad BUFHDR op2 %d", ir->op2); break;
1176 } 1184 }
1177#if LJ_TARGET_X86ORX64 1185#if LJ_TARGET_X86ORX64