summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-09-19 10:35:08 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-09-19 10:35:08 -0400
commitaddfd89dced4e2429050663db93ad37790f37a78 (patch)
treec78243bbcb14d71f0b37e1a6291fddc9d3ebff8e /src/base
parentf615c4aeb097010eb782a1ee556f990b84757175 (diff)
downloadgem5-addfd89dced4e2429050663db93ad37790f37a78.tar.xz
stats: Fix flow-control bug in Vector2D printing
Diffstat (limited to 'src/base')
-rw-r--r--src/base/stats/text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index 7d25b94e5..2c5b004be 100644
--- a/src/base/stats/text.cc
+++ b/src/base/stats/text.cc
@@ -571,8 +571,8 @@ Text::visit(const Vector2dInfo &info)
for (off_type i = 0; i < info.y; ++i) {
if (!info.y_subnames[i].empty()) {
print.subnames = info.y_subnames;
+ break;
}
- break;
}
}
print.flags = info.flags;