diff options
author | Richard Strong <rstrong@cs.ucsd.edu> | 2009-01-11 22:45:03 -0800 |
---|---|---|
committer | Richard Strong <rstrong@cs.ucsd.edu> | 2009-01-11 22:45:03 -0800 |
commit | 81180a3bf005586d7ca1fae77dd7888b99e45864 (patch) | |
tree | e20bfcfbce7094c9ca178f4e585a6c7caa9c81a3 /src/cpu | |
parent | 49dcab0ce69ba37938ae5701982b1d1a093d4ee8 (diff) | |
download | gem5-81180a3bf005586d7ca1fae77dd7888b99e45864.tar.xz |
This fix addresses an ill formed if statement that fails
to compile. The fix was the simple addition of another set
of parenthesis to ensure the correct condition resolution.
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/exetrace.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc index 4c0f83a21..7227602b5 100644 --- a/src/cpu/exetrace.cc +++ b/src/cpu/exetrace.cc @@ -128,10 +128,10 @@ Trace::ExeTracerRecord::dump() * complete/print when they fault. */ if (IsOn(ExecMacro) && staticInst->isMicroop() && - (IsOn(ExecMicro) && + ((IsOn(ExecMicro) && macroStaticInst && staticInst->isFirstMicroop()) || (!IsOn(ExecMicro) && - macroStaticInst && staticInst->isLastMicroop())) { + macroStaticInst && staticInst->isLastMicroop()))) { traceInst(macroStaticInst, false); } if (IsOn(ExecMicro) || !staticInst->isMicroop()) { |