X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=model.h;h=b5c7c30520cb7138cb4219bf8c35a21a6c69d0ab;hb=38cb7400c16ad0a04355ec77af2bf5da2dbfaad5;hp=78e486078b4de4a805b956992ad6ab3028248263;hpb=9508fe09d2eeaaf7fbe7193d9cb81b3bc66316b5;p=model-checker.git diff --git a/model.h b/model.h index 78e4860..b5c7c30 100644 --- a/model.h +++ b/model.h @@ -143,6 +143,7 @@ public: } action_list_t * get_actions_on_obj(void * obj, thread_id_t tid); + ModelAction * get_last_action(thread_id_t tid) const; MEMALLOC private: @@ -203,7 +204,6 @@ private: void check_curr_backtracking(ModelAction *curr); void add_action_to_lists(ModelAction *act); - ModelAction * get_last_action(thread_id_t tid) const; ModelAction * get_last_fence_release(thread_id_t tid) const; ModelAction * get_last_seq_cst_write(ModelAction *curr) const; ModelAction * get_last_seq_cst_fence(thread_id_t tid, const ModelAction *before_fence) const;