aboutsummaryrefslogtreecommitdiff
path: root/src/jit/v.lua
diff options
context:
space:
mode:
authorMike Pall <mike>2026-08-03 10:44:17 +0200
committerMike Pall <mike>2026-08-03 10:44:17 +0200
commitf30aabe82f61dbd6901f6a75dadde0a64dc626d2 (patch)
tree80eda65bf087e10b2a78d9b94bcec3a04ed4d2de /src/jit/v.lua
parent28084004ee68d576f3f0c9ea61ea448fe3e10f07 (diff)
downloadluajit-f30aabe82f61dbd6901f6a75dadde0a64dc626d2.tar.gz
luajit-f30aabe82f61dbd6901f6a75dadde0a64dc626d2.tar.bz2
luajit-f30aabe82f61dbd6901f6a75dadde0a64dc626d2.zip
Modernize jit.* Lua modules.
Diffstat (limited to '')
-rw-r--r--src/jit/v.lua4
1 files changed, 2 insertions, 2 deletions
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)
107 else 107 else
108 if what == "abort" then 108 if what == "abort" then
109 local loc = fmtfunc(func, pc) 109 local loc = fmtfunc(func, pc)
110 if loc ~= startloc then 110 if loc != startloc then
111 out:write(format("[TRACE --- %s%s -- %s at %s]\n", 111 out:write(format("[TRACE --- %s%s -- %s at %s]\n",
112 startex, startloc, fmterr(otr, oex), loc)) 112 startex, startloc, fmterr(otr, oex), loc))
113 else 113 else
@@ -147,7 +147,7 @@ local function dumpoff()
147 if active then 147 if active then
148 active = false 148 active = false
149 jit.attach(dump_trace) 149 jit.attach(dump_trace)
150 if out and out ~= stdout and out ~= stderr then out:close() end 150 if out and out != stdout and out != stderr then out:close() end
151 out = nil 151 out = nil
152 end 152 end
153end 153end