You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let should_restart_start = restart_sided && restart_vars <>"write-only"in(* assuming start vars are not write-only *)
641
+
(* TODO: should this distinguish non-global (function entry) and global (earlyglobs) start vars? *)
642
+
637
643
(* Call side on all globals and functions in the start variables to make sure that changes in the initializers are propagated.
638
644
* This also destabilizes start functions if their start state changes because of globals that are neither in the start variables nor in the contexts *)
639
645
List.iter (fun (v,d) ->
640
-
ifrestart_sided &¬ restart_only_accessthen (
646
+
ifshould_restart_startthen (
641
647
matchGobList.assoc_eq_opt S.Var.equal v data.st with
642
648
|Someold_dwhennot (S.Dom.equal old_d d) ->
643
649
ignore (Pretty.printf "Destabilizing and restarting changed start var %a\n"S.Var.pretty_trace v);
0 commit comments