Revert "Add log_checkpoint function and use it in opt_muxtree"
authorEddie Hung <eddie@fpgeh.com>
Mon, 15 Jul 2019 15:35:48 +0000 (08:35 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 15 Jul 2019 15:35:48 +0000 (08:35 -0700)
This reverts commit 0e6c83027f24cdf7082606a5631468ad28f41574.

kernel/log.cc
kernel/log.h
passes/opt/opt_muxtree.cc

index 08ebe7af797f352244ea05b64275fc964e85c64e..e0a60ca127902ff44ae8ee2efc4bc33689232f54 100644 (file)
@@ -427,13 +427,6 @@ void log_pop()
        log_flush();
 }
 
-void log_checkpoint()
-{
-       log_id_cache_clear();
-       IdString::checkpoint();
-       log_flush();
-}
-
 #if (defined(__linux__) || defined(__FreeBSD__)) && defined(YOSYS_ENABLE_PLUGINS)
 void log_backtrace(const char *prefix, int levels)
 {
index 3328018f36c3b11a61861676e7de6f48935b1cbc..3e1facae87c0353dcfb754c130a0b914ce348374 100644 (file)
@@ -130,7 +130,6 @@ void log_spacer();
 void log_push();
 void log_pop();
 
-void log_checkpoint();
 void log_backtrace(const char *prefix, int levels);
 void log_reset_stack();
 void log_flush();
index 79f0e9639c780c33e3ae2cfea98912005701a5b3..6511e091b42b3b1dba7065e8ab67ae367ff421ce 100644 (file)
@@ -204,7 +204,6 @@ struct OptMuxtreeWorker
 
                log("  Analyzing evaluation results.\n");
                log_assert(glob_abort_cnt > 0);
-               log_checkpoint();
 
                for (auto &mi : mux2info)
                {