From 02bcbea8b0f1b30b75460f31fb8749fec55d1e2e Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 19 Jul 2021 16:41:29 +0200 Subject: String buffers, part 3c: Add IRBUFHDR_WRITE mode. Sponsored by fmad.io. --- src/jit/dis_arm64.lua | 2 +- src/jit/dump.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jit') diff --git a/src/jit/dis_arm64.lua b/src/jit/dis_arm64.lua index ea7ca828..ad909fbd 100644 --- a/src/jit/dis_arm64.lua +++ b/src/jit/dis_arm64.lua @@ -1089,7 +1089,7 @@ local function disass_ins(ctx) last = "#"..(sf+32 - immr) operands[#operands] = last x = x + 1 - elseif x >= immr then + else name = a2 x = x - immr + 1 end diff --git a/src/jit/dump.lua b/src/jit/dump.lua index 4806f4c4..03140196 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -288,7 +288,7 @@ local litname = { ["FREF "] = vmdef.irfield, ["FPMATH"] = vmdef.irfpm, ["TMPREF"] = { [0] = "", "IN", "OUT", "INOUT", "", "", "OUT2", "INOUT2" }, - ["BUFHDR"] = { [0] = "RESET", "APPEND" }, + ["BUFHDR"] = { [0] = "RESET", "APPEND", "WRITE" }, ["TOSTR "] = { [0] = "INT", "NUM", "CHAR" }, } -- cgit v1.2.3-55-g6feb