@@ -3025,7 +3025,7 @@ void NesterovBase::createCbkGCell(odb::dbInst* db_inst, size_t stor_index)
30253025 }
30263026}
30273027
3028- size_t NesterovBaseCommon::createCbkGCell (odb::dbInst* db_inst, RouteBase* rb )
3028+ size_t NesterovBaseCommon::createCbkGCell (odb::dbInst* db_inst)
30293029{
30303030 debugPrint (log_, GPL , " callbacks" , 2 , " NBC createCbkGCell" );
30313031 Instance gpl_inst (db_inst,
@@ -3037,7 +3037,7 @@ size_t NesterovBaseCommon::createCbkGCell(odb::dbInst* db_inst, RouteBase* rb)
30373037 pb_insts_stor_.push_back (gpl_inst);
30383038 GCell gcell (&pb_insts_stor_.back ());
30393039 gCellStor_ .push_back (gcell);
3040- rb-> pushBackMinRcCellSize (gcell.dx (), gcell.dy ());
3040+ minRcCellSize_. emplace_back (gcell.dx (), gcell.dy ());
30413041 GCell* gcell_ptr = &gCellStor_ .back ();
30423042 gCellMap_ [gcell_ptr->insts ()[0 ]] = gcell_ptr;
30433043 db_inst_to_nbc_index_map_[db_inst] = gCellStor_ .size () - 1 ;
@@ -3075,7 +3075,7 @@ void NesterovBaseCommon::createCbkITerm(odb::dbITerm* iTerm)
30753075
30763076// assuming fixpointers will be called later
30773077// maintaining consistency in NBC::gcellStor_ and NB::gCells_
3078- void NesterovBase::destroyCbkGCell (odb::dbInst* db_inst, RouteBase* rb )
3078+ void NesterovBase::destroyCbkGCell (odb::dbInst* db_inst)
30793079{
30803080 debugPrint (log_, GPL , " callbacks" , 2 , " NesterovBase::destroyGCel" );
30813081 auto db_it = db_inst_to_nb_index_map_.find (db_inst);
@@ -3113,7 +3113,7 @@ void NesterovBase::destroyCbkGCell(odb::dbInst* db_inst, RouteBase* rb)
31133113 db_inst_to_nb_index_map_[replacer_inst] = replacer_index;
31143114 }
31153115
3116- std::pair<odb::dbInst*, size_t > replacer = nbc_->destroyCbkGCell (db_inst, rb );
3116+ std::pair<odb::dbInst*, size_t > replacer = nbc_->destroyCbkGCell (db_inst);
31173117
31183118 if (replacer.first != nullptr ) {
31193119 auto it = db_inst_to_nb_index_map_.find (replacer.first );
@@ -3141,7 +3141,7 @@ void NesterovBase::destroyCbkGCell(odb::dbInst* db_inst, RouteBase* rb)
31413141}
31423142
31433143std::pair<odb::dbInst*, size_t > NesterovBaseCommon::destroyCbkGCell (
3144- odb::dbInst* db_inst, RouteBase* rb )
3144+ odb::dbInst* db_inst)
31453145{
31463146 auto it = db_inst_to_nbc_index_map_.find (db_inst);
31473147 if (it == db_inst_to_nbc_index_map_.end ()) {
@@ -3159,7 +3159,7 @@ std::pair<odb::dbInst*, size_t> NesterovBaseCommon::destroyCbkGCell(
31593159
31603160 if (index_remove != last_index) {
31613161 std::swap (gCellStor_ [index_remove], gCellStor_ [last_index]);
3162- std::swap (rb-> getMinRcCellSize () [index_remove], rb-> getMinRcCellSize () [last_index]);
3162+ std::swap (minRcCellSize_ [index_remove], minRcCellSize_ [last_index]);
31633163
31643164 odb::dbInst* swapped_inst = gCellStor_ [index_remove].insts ()[0 ]->dbInst ();
31653165 db_inst_to_nbc_index_map_[swapped_inst] = index_remove;
@@ -3171,7 +3171,7 @@ std::pair<odb::dbInst*, size_t> NesterovBaseCommon::destroyCbkGCell(
31713171 delta_area_ -= area_change;
31723172
31733173 gCellStor_ .pop_back ();
3174- rb-> getMinRcCellSize () .pop_back ();
3174+ minRcCellSize_ .pop_back ();
31753175 return replacement;
31763176}
31773177
0 commit comments