summaryrefslogtreecommitdiff
path: root/cpu/static_inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/static_inst.cc')
-rw-r--r--cpu/static_inst.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/static_inst.cc b/cpu/static_inst.cc
index 7069d89ec..d522dbf5a 100644
--- a/cpu/static_inst.cc
+++ b/cpu/static_inst.cc
@@ -68,7 +68,7 @@ StaticInst<AlphaISA>::nullStaticInstPtr;
template <class ISA>
bool
-StaticInst<ISA>::hasBranchTarget(Addr pc, ExecContext *xc, Addr &tgt)
+StaticInst<ISA>::hasBranchTarget(Addr pc, ExecContext *xc, Addr &tgt) const
{
if (isDirectCtrl()) {
tgt = branchTarget(pc);