diff options
Diffstat (limited to 'src/cpu/inst_pb_trace.cc')
-rw-r--r-- | src/cpu/inst_pb_trace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/inst_pb_trace.cc b/src/cpu/inst_pb_trace.cc index e6ed425ec..400360078 100644 --- a/src/cpu/inst_pb_trace.cc +++ b/src/cpu/inst_pb_trace.cc @@ -123,8 +123,8 @@ InstPBTraceRecord* InstPBTrace::getInstRecord(Tick when, ThreadContext *tc, const StaticInstPtr si, TheISA::PCState pc, const StaticInstPtr mi) { - // Only record the trace if Exec debugging in enabled - if (!Trace::enabled || !Debug::ExecEnable) + // Only record the trace if Exec debugging is enabled + if (!Debug::ExecEnable) return NULL; return new InstPBTraceRecord(*this, when, tc, si, pc, mi); |