From f30aabe82f61dbd6901f6a75dadde0a64dc626d2 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 3 Aug 2026 10:44:17 +0200 Subject: Modernize jit.* Lua modules. --- src/jit/v.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jit/v.lua') diff --git a/src/jit/v.lua b/src/jit/v.lua index 69443d316..849915ab7 100644 --- a/src/jit/v.lua +++ b/src/jit/v.lua @@ -107,7 +107,7 @@ local function dump_trace(what, tr, func, pc, otr, oex) else if what == "abort" then local loc = fmtfunc(func, pc) - if loc ~= startloc then + if loc != startloc then out:write(format("[TRACE --- %s%s -- %s at %s]\n", startex, startloc, fmterr(otr, oex), loc)) else @@ -147,7 +147,7 @@ local function dumpoff() if active then active = false jit.attach(dump_trace) - if out and out ~= stdout and out ~= stderr then out:close() end + if out and out != stdout and out != stderr then out:close() end out = nil end end -- cgit v1.2.3-55-g6feb