@@ -1043,6 +1043,7 @@ impl Must {
10431043 solver
10441044 }
10451045
1046+ // TODO: This code is never run. Change it in the future.
10461047 #[ cfg( feature = "symbolic" ) ]
10471048 fn symbolic_backward_revisit_is_sat ( & self , rev : & Revisit ) -> bool {
10481049 if !self . config . symbolic {
@@ -1051,7 +1052,7 @@ impl Must {
10511052
10521053 let view = self . current . graph . revisit_view ( rev) ;
10531054 let mut g = self . current . graph . copy_to_view ( & view) ;
1054- g. change_rf ( rev. pos , Some ( rev. rev ) ) ;
1055+ g. change_rf_placement ( rev. pos , & rev. rev ) ;
10551056
10561057 self . symbolic_solver_for_graph ( & g) . is_sat ( )
10571058 }
@@ -1060,7 +1061,7 @@ impl Must {
10601061 fn is_maximal_constraint ( & self , c : & ConstraintEval , rev : & Revisit ) -> bool {
10611062 let view = self . current . graph . revisit_view ( rev) ;
10621063 let mut g = self . current . graph . copy_to_view ( & view) ;
1063- g. change_rf ( rev. pos , Some ( rev. rev ) ) ;
1064+ g. change_rf_placement ( rev. pos , & rev. rev ) ;
10641065
10651066 let solver = self . symbolic_solver_for_graph ( & g) ;
10661067
@@ -2157,25 +2158,7 @@ impl Must {
21572158
21582159 /// Change an rf according to the revisit
21592160 fn change_rf ( & mut self , rev : & Revisit ) {
2160- match & rev. rev {
2161- RevisitPlacement :: Default ( vv) => {
2162- // Standard recv revisit: single rf edge.
2163- self . current . graph . change_rf ( rev. pos , Some ( * vv) ) ;
2164- }
2165- RevisitPlacement :: Inbox ( vv) => {
2166- // Inbox revisit: whole set of chosen sends.
2167- if vv. is_empty ( ) {
2168- self . current . graph . change_inbox_rfs ( rev. pos , None ) ;
2169- } else {
2170- let mut vv_sorted = vv. clone ( ) ;
2171- // Keep a canonical order for deterministic comparisons/printing.
2172- vv_sorted. sort ( ) ;
2173- self . current
2174- . graph
2175- . change_inbox_rfs ( rev. pos , Some ( vv_sorted) ) ;
2176- }
2177- }
2178- }
2161+ self . current . graph . change_rf_placement ( rev. pos , & rev. rev ) ;
21792162 }
21802163
21812164 fn pick_revisit ( & mut self , revs : Vec < Event > , pos : Event ) {
0 commit comments