Skip to content

Commit 5e142d4

Browse files
committed
mpl: remove redundant loop
Signed-off-by: Arthur Koucher <[email protected]>
1 parent 4396869 commit 5e142d4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/mpl/src/hier_rtlmp.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,17 +1351,6 @@ void HierRTLMP::placeChildren(Cluster* parent)
13511351
for (auto& cluster : parent->getChildren()) {
13521352
clustering_engine_->updateInstancesAssociation(cluster.get());
13531353
}
1354-
// Place children clusters
1355-
// map children cluster to soft macro
1356-
for (auto& cluster : parent->getChildren()) {
1357-
if (cluster->isIOCluster()) { // ignore all the io clusters
1358-
continue;
1359-
}
1360-
auto soft_macro = std::make_unique<SoftMacro>(cluster.get());
1361-
// no memory leakage, beacuse we set the soft macro, the old one
1362-
// will be deleted
1363-
cluster->setSoftMacro(std::move(soft_macro));
1364-
}
13651354

13661355
const Rect outline = parent->getBBox();
13671356
if (graphics_) {

0 commit comments

Comments
 (0)