diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-01-16 10:25:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 10:25:25 +0100 |
commit | 87fe8ab3f29c4510831a69b50a7718c791626cfb (patch) | |
tree | 86b063be369a00b7f76cf1f2529bcf33495b51a4 | |
parent | 78f65f89ffc1d5c5237009c19e84e625ce3085aa (diff) | |
parent | 6781543244105c880eb847dc59d1d801b10bdc4f (diff) | |
download | yosys-87fe8ab3f29c4510831a69b50a7718c791626cfb.tar.gz yosys-87fe8ab3f29c4510831a69b50a7718c791626cfb.tar.bz2 yosys-87fe8ab3f29c4510831a69b50a7718c791626cfb.zip |
Merge pull request #293 from thoughtpolice/minor-cleanup
Delete some dead code in the Hierarchy pass
-rw-r--r-- | passes/hierarchy/hierarchy.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 337af7fd7..f1c4a1d3b 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check { filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v"; if (check_file_exists(filename)) { - std::vector<std::string> args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "verilog"); goto loaded_module; } filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il"; if (check_file_exists(filename)) { - std::vector<std::string> args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "ilang"); goto loaded_module; } |