From 008b17d8161ef1d880347bfbbe49336a1446e56e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 4 Jun 2012 10:57:23 -0700 Subject: ISA: Turn the ExtMachInst NoopMachinst into the StaticInstPtr NoopStaticInst. This eliminates a use of the ExtMachInst type outside of the ISAs. --- src/cpu/o3/fetch_impl.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cpu/o3/fetch_impl.hh') diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index b6eb25c08..40fe5ae01 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -661,8 +661,7 @@ DefaultFetch::finishTranslation(Fault fault, RequestPtr mem_req) DPRINTF(Fetch, "[tid:%i]: Translation faulted, building noop.\n", tid); // We will use a nop in ordier to carry the fault. - DynInstPtr instruction = buildInst(tid, - decoder[tid]->decode(TheISA::NoopMachInst, fetchPC.instAddr()), + DynInstPtr instruction = buildInst(tid, TheISA::NoopStaticInst, NULL, fetchPC, fetchPC, false); instruction->setPredTarg(fetchPC); -- cgit v1.2.3