summaryrefslogtreecommitdiff
path: root/passes/opt
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-03-03 13:18:37 +0100
committerClifford Wolf <clifford@clifford.at>2013-03-03 13:18:37 +0100
commit45bfe26f5f906c9c847ba2bd328413746a2c869c (patch)
tree1d3de9f791a9355d1e5a59df6105ecadc29323c1 /passes/opt
parent65e5e1658cd18c75bed2097d99acc66216e8856d (diff)
Minor hotfixes (mostly gcc build fixes)
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_muxtree.cc2
-rw-r--r--passes/opt/opt_rmunused.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/passes/opt/opt_muxtree.cc b/passes/opt/opt_muxtree.cc
index 9d622d6a..5602b5ee 100644
--- a/passes/opt/opt_muxtree.cc
+++ b/passes/opt/opt_muxtree.cc
@@ -27,6 +27,8 @@
#include <stdio.h>
#include <set>
+using RTLIL::id2cstr;
+
struct OptMuxtreeWorker
{
RTLIL::Design *design;
diff --git a/passes/opt/opt_rmunused.cc b/passes/opt/opt_rmunused.cc
index 9b276644..4807a97b 100644
--- a/passes/opt/opt_rmunused.cc
+++ b/passes/opt/opt_rmunused.cc
@@ -27,6 +27,8 @@
#include <stdio.h>
#include <set>
+using RTLIL::id2cstr;
+
static CellTypes ct;
static void rmunused_module_cells(RTLIL::Module *module)