From 12eab3e7a639265250c072133e1665e796b07c5b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 29 Apr 2019 17:12:08 -0700 Subject: arch: Stop using TheISA within the ISAs. We know for sure what the ISA is, so there's no need for the indirection. Change-Id: I73ff04c50890d40a4c7f40caeee746b68b846cb3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18488 Reviewed-by: Brandon Potter Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- src/arch/mips/utility.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/mips') diff --git a/src/arch/mips/utility.cc b/src/arch/mips/utility.cc index bb20c4cc9..495845d7f 100644 --- a/src/arch/mips/utility.cc +++ b/src/arch/mips/utility.cc @@ -268,7 +268,7 @@ copyMiscRegs(ThreadContext *src, ThreadContext *dest) void skipFunction(ThreadContext *tc) { - TheISA::PCState newPC = tc->pcState(); + PCState newPC = tc->pcState(); newPC.set(tc->readIntReg(ReturnAddressReg)); tc->pcState(newPC); } -- cgit v1.2.3