cpu: Eliminate the ThreadContext::setNPC method.
It is no longer used. Change-Id: Ic0526097550b109455cb09707e712775a0be56c4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52060 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Gabe Black <gabe.black@gmail.com>
This commit is contained in:
@@ -334,13 +334,6 @@ class CheckerThreadContext : public ThreadContext
|
||||
return actualTC->pcState(val);
|
||||
}
|
||||
|
||||
void
|
||||
setNPC(Addr val)
|
||||
{
|
||||
checkerTC->setNPC(val);
|
||||
actualTC->setNPC(val);
|
||||
}
|
||||
|
||||
void
|
||||
pcStateNoRecord(const PCStateBase &val) override
|
||||
{
|
||||
|
||||
@@ -233,14 +233,6 @@ class ThreadContext : public PCEventScope
|
||||
pcState(*new_pc);
|
||||
}
|
||||
|
||||
void
|
||||
setNPC(Addr val)
|
||||
{
|
||||
std::unique_ptr<PCStateBase> pc_state(pcState().clone());
|
||||
pc_state->as<TheISA::PCState>().setNPC(val);
|
||||
pcState(*pc_state);
|
||||
}
|
||||
|
||||
virtual void pcStateNoRecord(const PCStateBase &val) = 0;
|
||||
|
||||
virtual Addr instAddr() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user