aboutsummaryrefslogtreecommitdiff
path: root/src/jit/v.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/v.lua')
-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