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:
@@ -171,12 +171,6 @@ InOrderThreadContext::unserialize(Checkpoint *cp, const std::string §ion)
|
||||
panic("unserialize unimplemented");
|
||||
}
|
||||
|
||||
TheISA::MachInst
|
||||
InOrderThreadContext:: getInst()
|
||||
{
|
||||
return thread->getInst();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
InOrderThreadContext::copyArchRegs(ThreadContext *src_tc)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user