CPU: Get rid of the now unnecessary getInst/setInst family of functions.

This code is no longer needed because of the preceeding change which adds a
StaticInstPtr parameter to the fault's invoke method, obviating the only use
for this pair of functions.
This commit is contained in:
Gabe Black
2010-09-13 21:58:34 -07:00
parent 6833ca7eed
commit 8f3fbd2d13
16 changed files with 0 additions and 79 deletions

View File

@@ -171,12 +171,6 @@ InOrderThreadContext::unserialize(Checkpoint *cp, const std::string &section)
panic("unserialize unimplemented");
}
TheISA::MachInst
InOrderThreadContext:: getInst()
{
return thread->getInst();
}
void
InOrderThreadContext::copyArchRegs(ThreadContext *src_tc)

View File

@@ -177,11 +177,6 @@ class InOrderThreadContext : public ThreadContext
/** Returns this thread's ID number. */
int getThreadNum() { return thread->readTid(); }
/** Returns the instruction this thread is currently committing.
* Only used when an instruction faults.
*/
TheISA::MachInst getInst();
/** Copies the architectural registers from another TC into this TC. */
void copyArchRegs(ThreadContext *src_tc);