void * get_location() const { return location; }
void set_location(void * loc) { location = loc; }
- void reset_location() { location = NULL; }
+ void unset_location() { location = NULL; }
action_type get_type() const { return type; }
memory_order get_mo() const { return order; }
* location only stores the memory location when this FuncInst was constructed.
*/
void * location;
+
+ /* NOTE: for rmw actions, func_inst and act may have different
+ * action types because of action type conversion in ModelExecution */
action_type type;
+
memory_order order;
FuncNode * func_node;
};
#endif /* __FUNCINST_H__ */
-