model: add check_recency()
[cdsspec-compiler.git] / model.h
diff --git a/model.h b/model.h
index 990f559cc5af67fd368d5355bb890fc975a2c13d..70ec80427a7e7a0995defb0978e6025e49b4143a 100644 (file)
--- a/model.h
+++ b/model.h
@@ -104,6 +104,7 @@ private:
 
        bool take_step();
 
+       void check_recency(ModelAction *curr, bool already_added);
        ModelAction * get_last_conflict(ModelAction *act);
        void set_backtracking(ModelAction *act);
        Thread * get_next_replay_thread();
@@ -177,6 +178,7 @@ private:
         */
        CycleGraph *mo_graph;
        bool failed_promise;
+       bool too_many_reads;
        bool asserted;
 };