summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-06-12 18:59:24 -0400
committerKevin Lim <ktlim@umich.edu>2006-06-12 18:59:24 -0400
commitfbf3a82c5c358d75acd9a97ad1dcef9796b83c96 (patch)
tree40554992d74f4018c3676a842fc3aaa76a84f59d /src/arch
parent5639fb2c431fffa11392f34f90619fac806aa277 (diff)
downloadgem5-fbf3a82c5c358d75acd9a97ad1dcef9796b83c96.tar.xz
Fix compile error.
--HG-- extra : convert_revision : 334f5033f5a3a303bfaec3a3acfbd36f205efe86
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/mips/isa/formats/branch.isa8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/mips/isa/formats/branch.isa b/src/arch/mips/isa/formats/branch.isa
index 8cfa37a20..ea5af22c0 100644
--- a/src/arch/mips/isa/formats/branch.isa
+++ b/src/arch/mips/isa/formats/branch.isa
@@ -111,7 +111,7 @@ output header {{
{
}
- Addr branchTarget(ExecContext *xc) const;
+ Addr branchTarget(ThreadContext *tc) const;
std::string
generateDisassembly(Addr pc, const SymbolTable *symtab) const;
@@ -132,10 +132,10 @@ output decoder {{
}
Addr
- Jump::branchTarget(ExecContext *xc) const
+ Jump::branchTarget(ThreadContext *tc) const
{
- Addr NPC = xc->readPC() + 4;
- uint64_t Rb = xc->readIntReg(_srcRegIdx[0]);
+ Addr NPC = tc->readPC() + 4;
+ uint64_t Rb = tc->readIntReg(_srcRegIdx[0]);
return (Rb & ~3) | (NPC & 1);
}