aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/pack.cc
diff options
context:
space:
mode:
authorD. Shah <dave@ds0.me>2021-01-29 12:58:41 +0000
committerD. Shah <dave@ds0.me>2021-02-02 17:00:14 +0000
commit9388df19d3ab3ca1b127defafe6fa3f71147f451 (patch)
tree09d4cf8ffab3c6fb1e1c4593e693a62ef5606973 /ecp5/pack.cc
parent6d23461bcd83d27c6b365948a5e85db80389832e (diff)
downloadnextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.gz
nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.tar.bz2
nextpnr-9388df19d3ab3ca1b127defafe6fa3f71147f451.zip
refactor: Replace getXName().c_str(ctx) with ctx->nameOfX
This makes the ongoing migration to IdStringList easier. Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/pack.cc')
-rw-r--r--ecp5/pack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/pack.cc b/ecp5/pack.cc
index 8d21c5b3..ed2dfc29 100644
--- a/ecp5/pack.cc
+++ b/ecp5/pack.cc
@@ -1853,7 +1853,7 @@ class Ecp5Packer
next = upstream.front();
upstream.pop();
if (ctx->debug)
- log_info(" visited %s\n", ctx->getWireName(next).c_str(ctx));
+ log_info(" visited %s\n", ctx->nameOfWire(next));
IdString basename = ctx->getWireBasename(next);
if (basename == bnke_name || basename == global_name) {
break;