passes/hierarchy: delete some dead code

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2017-01-15 16:39:12 -06:00
parent 78f65f89ff
commit 6781543244
1 changed files with 0 additions and 4 deletions

View File

@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check
{ {
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v"; filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v";
if (check_file_exists(filename)) { if (check_file_exists(filename)) {
std::vector<std::string> args;
args.push_back(filename);
Frontend::frontend_call(design, NULL, filename, "verilog"); Frontend::frontend_call(design, NULL, filename, "verilog");
goto loaded_module; goto loaded_module;
} }
filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il"; filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il";
if (check_file_exists(filename)) { if (check_file_exists(filename)) {
std::vector<std::string> args;
args.push_back(filename);
Frontend::frontend_call(design, NULL, filename, "ilang"); Frontend::frontend_call(design, NULL, filename, "ilang");
goto loaded_module; goto loaded_module;
} }