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.
This commit is contained in:
Richard Strong 2009-01-11 22:45:03 -08:00
parent 49dcab0ce6
commit 81180a3bf0

View file

@ -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()) {