From 81180a3bf005586d7ca1fae77dd7888b99e45864 Mon Sep 17 00:00:00 2001 From: Richard Strong Date: Sun, 11 Jan 2009 22:45:03 -0800 Subject: 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. --- src/cpu/exetrace.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu') 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()) { -- cgit v1.2.3