this will safeguard future code from trying to remove
from the list twice. That code wouldnt break but would
waste time.
/** Sets this instruction as entered on the CPU Reg Dep Map */
void setRegDepEntry() { status.set(RegDepMapEntry); }
+ /** Unsets this instruction as entered on the CPU Reg Dep Map */
+ void clearRegDepEntry() { status.reset(RegDepMapEntry); }
+
/** Returns whether or not the entry is on the CPU Reg Dep Map */
bool isRegDepEntry() const { return status[RegDepMapEntry]; }
remove(reg_type, flat_idx, inst);
}
+
+ inst->clearRegDepEntry();
}
}