File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,13 @@ void IRNetwork::processPolygonToRectangles(
367367 std::vector<std::unique_ptr<Node>>& new_nodes,
368368 std::map<Shape*, std::set<Node*>>& terminal_connections)
369369{
370+ const utl::DebugScopedTimer timer (
371+ logger_,
372+ utl::PSM,
373+ " timer" ,
374+ 2 ,
375+ fmt::format (" Convert polygons to nodes {}: {{}}" , layer->getName ()));
376+
370377 using boost::polygon::operators::operator +=;
371378
372379 auto get_layer_orientation
@@ -904,13 +911,6 @@ void IRNetwork::cleanupNodes()
904911
905912 auto node_connection_map = getConnectionMap ();
906913
907- std::map<Node*, bool > marked_deleted;
908- for (const auto & [layer, nodes] : nodes_) {
909- for (const auto & node : nodes) {
910- marked_deleted[node.get ()] = false ;
911- }
912- }
913-
914914 cleanupOverlappingNodes (node_connection_map);
915915
916916 mergeNodes (node_connection_map);
You can’t perform that action at this time.
0 commit comments