aboutsummaryrefslogtreecommitdiffstats
path: root/passes/hierarchy/uniquify.cc
diff options
context:
space:
mode:
Diffstat (limited to 'passes/hierarchy/uniquify.cc')
-rw-r--r--passes/hierarchy/uniquify.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/hierarchy/uniquify.cc b/passes/hierarchy/uniquify.cc
index e6154e94f..ad3220918 100644
--- a/passes/hierarchy/uniquify.cc
+++ b/passes/hierarchy/uniquify.cc
@@ -75,7 +75,7 @@ struct UniquifyPass : public Pass {
if (tmod == nullptr)
continue;
- if (tmod->get_bool_attribute("\\blackbox"))
+ if (tmod->get_blackbox_attribute())
continue;
if (tmod->get_bool_attribute("\\unique") && newname == tmod->name)