Quellcode durchsuchen

Flush symbol tables in jit.dump on trace flush.

Mike Pall vor 10 Jahren
Ursprung
Commit
2e85af8836
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/jit/dump.lua

+ 1 - 0
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("</pre>\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()