ruby: remove unused function removeRequest()
This commit is contained in:
parent
4b19e06644
commit
78a1245b41
|
@ -241,28 +241,6 @@ Sequencer::markRemoved()
|
||||||
m_writeRequestTable.size() + m_readRequestTable.size());
|
m_writeRequestTable.size() + m_readRequestTable.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
Sequencer::removeRequest(SequencerRequest* srequest)
|
|
||||||
{
|
|
||||||
assert(m_outstanding_count ==
|
|
||||||
m_writeRequestTable.size() + m_readRequestTable.size());
|
|
||||||
|
|
||||||
Addr line_addr = makeLineAddress(srequest->pkt->getAddr());
|
|
||||||
if ((srequest->m_type == RubyRequestType_ST) ||
|
|
||||||
(srequest->m_type == RubyRequestType_RMW_Read) ||
|
|
||||||
(srequest->m_type == RubyRequestType_RMW_Write) ||
|
|
||||||
(srequest->m_type == RubyRequestType_Load_Linked) ||
|
|
||||||
(srequest->m_type == RubyRequestType_Store_Conditional) ||
|
|
||||||
(srequest->m_type == RubyRequestType_Locked_RMW_Read) ||
|
|
||||||
(srequest->m_type == RubyRequestType_Locked_RMW_Write)) {
|
|
||||||
m_writeRequestTable.erase(line_addr);
|
|
||||||
} else {
|
|
||||||
m_readRequestTable.erase(line_addr);
|
|
||||||
}
|
|
||||||
|
|
||||||
markRemoved();
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Sequencer::invalidateSC(Addr address)
|
Sequencer::invalidateSC(Addr address)
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,7 +97,6 @@ class Sequencer : public RubyPort
|
||||||
void checkCoherence(Addr address);
|
void checkCoherence(Addr address);
|
||||||
|
|
||||||
void markRemoved();
|
void markRemoved();
|
||||||
void removeRequest(SequencerRequest* request);
|
|
||||||
void evictionCallback(Addr address);
|
void evictionCallback(Addr address);
|
||||||
void invalidateSC(Addr address);
|
void invalidateSC(Addr address);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue