changeset 3d417492668d in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=3d417492668d
description:
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:
1 file changed, 1 insertion(+), 1 deletion(-)
src/cpu/exetrace.cc | 2 +-
diffs (16 lines):
diff -r 9279812da5ee -r 3d417492668d src/cpu/exetrace.cc
--- a/src/cpu/exetrace.cc Wed Jan 07 00:05:33 2009 -0800
+++ b/src/cpu/exetrace.cc Sun Jan 11 22:45:03 2009 -0800
@@ -128,10 +128,10 @@
* 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()) {
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev