aboutsummaryrefslogtreecommitdiffstats
path: root/passes/memory
diff options
context:
space:
mode:
Diffstat (limited to 'passes/memory')
-rw-r--r--passes/memory/memory_share.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/memory/memory_share.cc b/passes/memory/memory_share.cc
index 0111c2309..8b9d9a04d 100644
--- a/passes/memory/memory_share.cc
+++ b/passes/memory/memory_share.cc
@@ -670,13 +670,13 @@ struct MemoryShareWorker
void operator()(RTLIL::Module* module)
{
+ std::map<std::string, std::pair<std::vector<RTLIL::Cell*>, std::vector<RTLIL::Cell*>>> memindex;
+
this->module = module;
sigmap.set(module);
sig_to_mux.clear();
conditions_logic_cache.clear();
- std::map<std::string, std::pair<std::vector<RTLIL::Cell*>, std::vector<RTLIL::Cell*>>> memindex;
-
sigmap_xmux = sigmap;
for (auto cell : module->cells())
{