summaryrefslogtreecommitdiff
path: root/src/cpu/base_dyn_inst.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/base_dyn_inst.hh')
-rw-r--r--src/cpu/base_dyn_inst.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/base_dyn_inst.hh b/src/cpu/base_dyn_inst.hh
index a992664d0..41cb13949 100644
--- a/src/cpu/base_dyn_inst.hh
+++ b/src/cpu/base_dyn_inst.hh
@@ -805,6 +805,10 @@ class BaseDynInst : public FastAlloc, public RefCounted
void setPredicate(bool val)
{
predicate = val;
+
+ if (traceData) {
+ traceData->setPredicate(val);
+ }
}
/** Sets the ASID. */