summaryrefslogtreecommitdiff
path: root/src/cpu/base_dyn_inst.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-11-21 16:20:57 -0800
committerGabe Black <gabeblack@google.com>2019-02-01 01:22:19 +0000
commita119a963240a35ab66a5baee3f77cfcd99c6bbbb (patch)
treec883d37ed479e92c23d881a48b8f2abec469faf7 /src/cpu/base_dyn_inst.hh
parentfbdf0b689eb31543292f52c71d14152d8ff1156a (diff)
downloadgem5-a119a963240a35ab66a5baee3f77cfcd99c6bbbb.tar.xz
cpu, arch: Replace the CCReg type with RegVal.
Most architectures weren't using the CCReg type, and in x86 and arm it was already a uint64_t. Change-Id: I0b3d5e690e6b31db6f2627f449c89bde0f6750a6 Reviewed-on: https://gem5-review.googlesource.com/c/14515 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/cpu/base_dyn_inst.hh')
-rw-r--r--src/cpu/base_dyn_inst.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh
index b87fd8b4e..c24517937 100644
--- a/src/cpu/base_dyn_inst.hh
+++ b/src/cpu/base_dyn_inst.hh
@@ -662,7 +662,7 @@ class BaseDynInst : public ExecContext, public RefCounted
}
/** Records a CC register being set to a value. */
- void setCCRegOperand(const StaticInst *si, int idx, CCReg val)
+ void setCCRegOperand(const StaticInst *si, int idx, RegVal val)
{
setScalarResult(val);
}