diff options
author | Gabe Black <gabeblack@google.com> | 2019-04-29 17:12:08 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-04-30 18:52:13 +0000 |
commit | 12eab3e7a639265250c072133e1665e796b07c5b (patch) | |
tree | c68ada359e2f99c42372ee9253047f5fa8a0c547 /src/arch/x86 | |
parent | ecd6be3d11c1b1f9359f467972e84ae7713f1f63 (diff) | |
download | gem5-12eab3e7a639265250c072133e1665e796b07c5b.tar.xz |
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 <Brandon.Potter@amd.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index d01afbc25..f4469bd02 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -150,7 +150,7 @@ X86_64Process::X86_64Process(ProcessParams *params, ObjectFile *objFile, void I386Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) { - TheISA::PCState pc = tc->pcState(); + PCState pc = tc->pcState(); Addr eip = pc.pc(); if (eip >= vsyscallPage.base && eip < vsyscallPage.base + vsyscallPage.size) { |