X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=action.cc;fp=action.cc;h=ee980b875988b362a2f6c3402be8dc5e795b69d7;hb=527eb9241e1b39b6ad4125a71b951d445d4e251e;hp=89a61b74ad02284768359ec8cc07a9f51f4898bd;hpb=fbed9b2aaf6ac4f928a59dd0dd885348dcb0eb4c;p=c11tester.git diff --git a/action.cc b/action.cc index 89a61b74..ee980b87 100644 --- a/action.cc +++ b/action.cc @@ -41,7 +41,7 @@ ModelAction::ModelAction(action_type_t type, memory_order order, void *loc, trace_ref(NULL), thrdmap_ref(NULL), action_ref(NULL), - func_act_ref(NULL), + func_ref_count(0), value(value), type(type), original_type(ATOMIC_NOP), @@ -78,7 +78,7 @@ ModelAction::ModelAction(action_type_t type, memory_order order, uint64_t value, trace_ref(NULL), thrdmap_ref(NULL), action_ref(NULL), - func_act_ref(NULL), + func_ref_count(0), value(value), type(type), original_type(ATOMIC_NOP), @@ -114,7 +114,7 @@ ModelAction::ModelAction(action_type_t type, memory_order order, void *loc, trace_ref(NULL), thrdmap_ref(NULL), action_ref(NULL), - func_act_ref(NULL), + func_ref_count(0), value(value), type(type), original_type(ATOMIC_NOP), @@ -154,7 +154,7 @@ ModelAction::ModelAction(action_type_t type, const char * position, memory_order trace_ref(NULL), thrdmap_ref(NULL), action_ref(NULL), - func_act_ref(NULL), + func_ref_count(0), value(value), type(type), original_type(ATOMIC_NOP), @@ -195,7 +195,7 @@ ModelAction::ModelAction(action_type_t type, const char * position, memory_order trace_ref(NULL), thrdmap_ref(NULL), action_ref(NULL), - func_act_ref(NULL), + func_ref_count(0), value(value), type(type), original_type(ATOMIC_NOP),