From 2e85af8836931f10aaaaae8c10f9b394219187a5 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 1 Oct 2015 16:32:30 +0200 Subject: [PATCH] Flush symbol tables in jit.dump on trace flush. --- src/jit/dump.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jit/dump.lua b/src/jit/dump.lua index d15c528e..e6ea18a8 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -564,6 +564,7 @@ local function dump_trace(what, tr, func, pc, otr, oex) end if dumpmode.H then out:write("\n\n") else out:write("\n") end else + if what == "flush" then symtab, nexitsym = {}, 0 end out:write("---- TRACE ", what, "\n\n") end out:flush()