From: Gabe Black Date: Sat, 19 Sep 2020 06:27:27 +0000 (-0700) Subject: cpu: Clear out some unnecessary ISA dependence in thread_context.hh. X-Git-Tag: develop-gem5-snapshot~736 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d88d84d95c1e72df93b1412ae1fe89ca384762d;p=gem5.git cpu: Clear out some unnecessary ISA dependence in thread_context.hh. The ISA version of the ISA class isn't used any more. Neither is TheISA::MachInst. Change-Id: I9085ad2b51ba19bf6e5bb17769dd048ac6384fec Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34821 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh index c4fbaf405..8cc7cec46 100644 --- a/src/cpu/thread_context.hh +++ b/src/cpu/thread_context.hh @@ -58,7 +58,6 @@ // DTB pointers. namespace TheISA { - class ISA; class Decoder; } class BaseCPU; @@ -88,7 +87,6 @@ class System; class ThreadContext : public PCEventScope { protected: - typedef TheISA::MachInst MachInst; using VecRegContainer = TheISA::VecRegContainer; using VecElem = TheISA::VecElem; using VecPredRegContainer = TheISA::VecPredRegContainer;