From: Andreas Hansson Date: Fri, 19 Sep 2014 14:35:08 +0000 (-0400) Subject: stats: Fix flow-control bug in Vector2D printing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=addfd89dced4e2429050663db93ad37790f37a78;p=gem5.git stats: Fix flow-control bug in Vector2D printing --- 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;