summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts/branch.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-06-02 12:58:00 -0500
commitf49cdb4f5d8c9740e5f021ad5704a4586e88f6c3 (patch)
treed1b106afe93a5cd27ae99b65293dc7c5297ae408 /src/arch/arm/insts/branch.hh
parent330d9d4dbc8f57479f5db7ead66af5652f853145 (diff)
downloadgem5-f49cdb4f5d8c9740e5f021ad5704a4586e88f6c3.tar.xz
ARM: Make sure ExtMachInst is used consistently instead of regular MachInst.
Diffstat (limited to 'src/arch/arm/insts/branch.hh')
-rw-r--r--src/arch/arm/insts/branch.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/arm/insts/branch.hh b/src/arch/arm/insts/branch.hh
index 3c4cd8cd5..c9a4eaf40 100644
--- a/src/arch/arm/insts/branch.hh
+++ b/src/arch/arm/insts/branch.hh
@@ -52,7 +52,7 @@ class PCDependentDisassembly : public PredOp
mutable const SymbolTable *cachedSymtab;
/// Constructor
- PCDependentDisassembly(const char *mnem, MachInst _machInst,
+ PCDependentDisassembly(const char *mnem, ExtMachInst _machInst,
OpClass __opClass)
: PredOp(mnem, _machInst, __opClass),
cachedPC(0), cachedSymtab(0)
@@ -74,7 +74,7 @@ class Branch : public PCDependentDisassembly
int32_t disp;
/// Constructor.
- Branch(const char *mnem, MachInst _machInst, OpClass __opClass)
+ Branch(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
: PCDependentDisassembly(mnem, _machInst, __opClass),
disp(machInst.offset << 2)
{
@@ -97,7 +97,7 @@ class BranchExchange : public PredOp
{
protected:
/// Constructor
- BranchExchange(const char *mnem, MachInst _machInst,
+ BranchExchange(const char *mnem, ExtMachInst _machInst,
OpClass __opClass)
: PredOp(mnem, _machInst, __opClass)
{
@@ -123,7 +123,7 @@ class Jump : public PCDependentDisassembly
public:
/// Constructor
- Jump(const char *mnem, MachInst _machInst, OpClass __opClass)
+ Jump(const char *mnem, ExtMachInst _machInst, OpClass __opClass)
: PCDependentDisassembly(mnem, _machInst, __opClass),
disp(machInst.offset << 2)
{