Flush symbol tables in jit.dump on trace flush.

This commit is contained in:
Mike Pall 2015-10-01 16:32:30 +02:00
parent ef087aa678
commit 2e85af8836

View File

@ -564,6 +564,7 @@ local function dump_trace(what, tr, func, pc, otr, oex)
end end
if dumpmode.H then out:write("</pre>\n\n") else out:write("\n") end if dumpmode.H then out:write("</pre>\n\n") else out:write("\n") end
else else
if what == "flush" then symtab, nexitsym = {}, 0 end
out:write("---- TRACE ", what, "\n\n") out:write("---- TRACE ", what, "\n\n")
end end
out:flush() out:flush()