action_type type = act->get_type();
mllnode<FuncInst*> * it;
- for (it = collisions.begin(); it != NULL; it = it->getNext()) {
+ for (it = collisions.begin();it != NULL;it = it->getNext()) {
FuncInst * inst = it->getVal();
if (inst->get_type() == type)
return inst;
* is_write() <==> pure writes (excluding rmw) */
bool FuncInst::is_write() const
{
- return type == ATOMIC_WRITE || type == ATOMIC_RMW || type == ATOMIC_INIT || type == ATOMIC_UNINIT || type == NONATOMIC_WRITE;
+ return type == ATOMIC_WRITE || type == ATOMIC_RMW || type == ATOMIC_INIT || type == NONATOMIC_WRITE;
}
void FuncInst::print()