@@ -345,7 +345,6 @@ static void free_pb_graph(t_pb_graph_node* pb_graph_node) {
345
345
delete[] pb_graph_node->clock_pins [i];
346
346
}
347
347
348
-
349
348
vtr::free (pb_graph_node->input_pins );
350
349
vtr::free (pb_graph_node->output_pins );
351
350
vtr::free (pb_graph_node->clock_pins );
@@ -362,14 +361,14 @@ static void free_pb_graph(t_pb_graph_node* pb_graph_node) {
362
361
if (pb_graph_node->interconnect_pins [i] == nullptr ) continue ;
363
362
364
363
t_mode* mode = &pb_graph_node->pb_type ->modes [i];
365
-
364
+
366
365
for (j = 0 ; j < mode->num_interconnect ; ++j) {
367
366
// The interconnect_pins data structures are only initialized for power analysis and
368
367
// are bizarrely baroque...
369
368
t_interconnect* interconn = pb_graph_node->interconnect_pins [i][j].interconnect ;
370
369
VTR_ASSERT (interconn == &mode->interconnect [j]);
371
370
372
- t_interconnect_power* interconn_power = interconn->interconnect_power ;
371
+ t_interconnect_power* interconn_power = interconn->interconnect_power ;
373
372
for (int iport = 0 ; iport < interconn_power->num_input_ports ; ++iport) {
374
373
vtr::free (pb_graph_node->interconnect_pins [i][j].input_pins [iport]);
375
374
}
@@ -385,7 +384,6 @@ static void free_pb_graph(t_pb_graph_node* pb_graph_node) {
385
384
vtr::free (pb_graph_node->interconnect_pins );
386
385
vtr::free (pb_graph_node->pb_node_power );
387
386
388
-
389
387
for (i = 0 ; i < pb_type->num_modes ; i++) {
390
388
for (j = 0 ; j < pb_type->modes [i].num_pb_type_children ; j++) {
391
389
for (k = 0 ; k < pb_type->modes [i].pb_type_children [j].num_pb ; k++) {
0 commit comments