summaryrefslogtreecommitdiff
path: root/passes/cmds/delete.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-21 12:35:06 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-21 12:35:06 +0200
commit1d88f1cf9f2088de7825f5292db5b40d4f73d036 (patch)
treeef1eeba2dcddbe957dabb8147b2b81cdc0d2ecd3 /passes/cmds/delete.cc
parent3cb61d03f8722fddfa14877accae1b3ca51e3926 (diff)
Removed deprecated module->new_wire()
Diffstat (limited to 'passes/cmds/delete.cc')
-rw-r--r--passes/cmds/delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/delete.cc b/passes/cmds/delete.cc
index 1c02752c..ce6ac4af 100644
--- a/passes/cmds/delete.cc
+++ b/passes/cmds/delete.cc
@@ -30,7 +30,7 @@ struct DeleteWireWorker
sig.optimize();
for (auto &c : sig.chunks)
if (c.wire != NULL && delete_wires_p->count(c.wire->name)) {
- c.wire = module->new_wire(c.width, NEW_ID);
+ c.wire = module->addWire(NEW_ID, c.width);
c.offset = 0;
}
}