130a131,143
> bool
> MemDepUnit<MemDepPred, Impl>::isDrained() const
> {
> bool drained = instsToReplay.empty()
> && memDepHash.empty()
> && instsToReplay.empty();
> for (int i = 0; i < Impl::MaxThreads; ++i)
> drained = drained && instList[i].empty();
>
> return drained;
> }
>
> template <class MemDepPred, class Impl>