remove leftovers from ast data structures
authorStefan Biereigel <stefan@biereigel.de>
Mon, 27 May 2019 16:01:44 +0000 (18:01 +0200)
committerStefan Biereigel <stefan@biereigel.de>
Mon, 27 May 2019 16:01:44 +0000 (18:01 +0200)
frontends/ast/ast.cc
frontends/ast/ast.h

index 9631525888a5c08cf797452c01435fc93ec2c7b5..44b8863f963b5c208a81e17afde1cbe9941259ca 100644 (file)
@@ -51,7 +51,6 @@ namespace AST_INTERNAL {
        std::map<std::string, AstNode*> current_scope;
        const dict<RTLIL::SigBit, RTLIL::SigBit> *genRTLIL_subst_ptr = NULL;
        RTLIL::SigSpec ignoreThisSignalsInInitial;
-       std::map<RTLIL::SigSpec, RTLIL::Cell*> wire_logic_map;
        AstNode *current_always, *current_top_block, *current_block, *current_block_child;
        AstModule *current_module;
        bool current_always_clocked;
@@ -943,8 +942,6 @@ static AstModule* process_module(AstNode *ast, bool defer, AstNode *original_ast
                log("--- END OF AST DUMP ---\n");
        }
 
-       wire_logic_map = std::map<RTLIL::SigSpec, RTLIL::Cell*>();
-
        if (!defer)
        {
                bool blackbox_module = flag_lib;
index c2a7744c4b8d063ac067af88566e6de501de2c37..6c19dc7e61a4ade86f5c006608673030ee934e27 100644 (file)
@@ -327,7 +327,6 @@ namespace AST_INTERNAL
        extern std::map<std::string, AST::AstNode*> current_scope;
        extern const dict<RTLIL::SigBit, RTLIL::SigBit> *genRTLIL_subst_ptr;
        extern RTLIL::SigSpec ignoreThisSignalsInInitial;
-       extern std::map<RTLIL::SigSpec, RTLIL::Cell*> wire_logic_map;
        extern AST::AstNode *current_always, *current_top_block, *current_block, *current_block_child;
        extern AST::AstModule *current_module;
        extern bool current_always_clocked;