summaryrefslogtreecommitdiff
path: root/src/sim/insttracer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/insttracer.hh')
-rw-r--r--src/sim/insttracer.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sim/insttracer.hh b/src/sim/insttracer.hh
index a8cdff671..c3f3eb323 100644
--- a/src/sim/insttracer.hh
+++ b/src/sim/insttracer.hh
@@ -58,6 +58,7 @@ class InstRecord
StaticInstPtr macroStaticInst;
MicroPC upc;
bool misspeculating;
+ bool predicate;
// The remaining fields are only valid for particular instruction
// types (e.g, addresses for memory ops) or when particular
@@ -102,6 +103,7 @@ class InstRecord
fetch_seq_valid = false;
cp_seq_valid = false;
+ predicate = false;
}
virtual ~InstRecord() { }
@@ -128,6 +130,8 @@ class InstRecord
void setCPSeq(InstSeqNum seq)
{ cp_seq = seq; cp_seq_valid = true; }
+ void setPredicate(bool val) { predicate = val; }
+
virtual void dump() = 0;
public: