summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-02-02 23:34:14 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-02-02 23:34:14 -0800
commit869a046e413d7cbfdda4e33eed8191004017a83f (patch)
tree16226a11e4f836e99d847c66ed5078a3913b43ad
parentcb22bead7da09913a4477b882b91850e9abf12f0 (diff)
downloadgem5-869a046e413d7cbfdda4e33eed8191004017a83f.tar.xz
O3: Fix a style bug in O3.
-rw-r--r--src/cpu/o3/fetch_impl.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh
index 927af42c3..d0c83d586 100644
--- a/src/cpu/o3/fetch_impl.hh
+++ b/src/cpu/o3/fetch_impl.hh
@@ -1186,11 +1186,9 @@ DefaultFetch<Impl>::fetch(bool &status_change)
// Increment stat of fetched instructions.
++fetchedInsts;
- if (staticInst->isMacroop())
- {
+ if (staticInst->isMacroop()) {
curMacroop = staticInst;
- }
- else {
+ } else {
pcOffset = 0;
}
} else {