summaryrefslogtreecommitdiff
path: root/src/cpu/base_dyn_inst_impl.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-20 19:46:45 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-06-20 19:46:45 -0700
commitdf7730b6774a730d554bfaa469ad95eeeffd3dc9 (patch)
treee284e7a5181b21e01cddcefe061d55ac432ed14f /src/cpu/base_dyn_inst_impl.hh
parent5c48a0581338226ee2f56a4ed99c6d68abb69613 (diff)
downloadgem5-df7730b6774a730d554bfaa469ad95eeeffd3dc9.tar.xz
Fix compiler errors.
--HG-- extra : convert_revision : 2b10076a24cb36cb748e299011ae691f09c158cd
Diffstat (limited to 'src/cpu/base_dyn_inst_impl.hh')
-rw-r--r--src/cpu/base_dyn_inst_impl.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/base_dyn_inst_impl.hh b/src/cpu/base_dyn_inst_impl.hh
index acf8af9cf..5c18ae694 100644
--- a/src/cpu/base_dyn_inst_impl.hh
+++ b/src/cpu/base_dyn_inst_impl.hh
@@ -73,7 +73,7 @@ BaseDynInst<Impl>::BaseDynInst(StaticInstPtr _staticInst,
seqNum = seq_num;
bool nextIsMicro =
- staticInst->isMicroOp() && !staticInst->isLastMicroOp();
+ staticInst->isMicroop() && !staticInst->isLastMicroop();
PC = inst_PC;
microPC = inst_MicroPC;
@@ -101,12 +101,12 @@ BaseDynInst<Impl>::BaseDynInst(TheISA::ExtMachInst inst,
Addr pred_PC, Addr pred_NPC,
Addr pred_MicroPC,
InstSeqNum seq_num, ImplCPU *cpu)
- : staticInst(inst), traceData(NULL), cpu(cpu)
+ : staticInst(inst, inst_PC), traceData(NULL), cpu(cpu)
{
seqNum = seq_num;
bool nextIsMicro =
- staticInst->isMicroOp() && !staticInst->isLastMicroOp();
+ staticInst->isMicroop() && !staticInst->isLastMicroop();
PC = inst_PC;
microPC = inst_MicroPC;