diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-03-02 22:53:10 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-03-02 22:53:10 -0800 |
commit | 3df970f0de9790c0805ec76759a9c36a0fb10bac (patch) | |
tree | 8bdc5bcaa636386bffcaca4b580ab707a6056400 /util/statetrace/arch/tracechild_amd64.hh | |
parent | 07b507d2785f9d7696f980d6556e362392f92fda (diff) | |
download | gem5-3df970f0de9790c0805ec76759a9c36a0fb10bac.tar.xz |
Statetrace: Clean up style.
Diffstat (limited to 'util/statetrace/arch/tracechild_amd64.hh')
-rw-r--r-- | util/statetrace/arch/tracechild_amd64.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/statetrace/arch/tracechild_amd64.hh b/util/statetrace/arch/tracechild_amd64.hh index 9b33caaf1..6ed90d292 100644 --- a/util/statetrace/arch/tracechild_amd64.hh +++ b/util/statetrace/arch/tracechild_amd64.hh @@ -108,18 +108,21 @@ class AMD64TraceChild : public TraceChild bool sendState(int socket); - int getNumRegs() + int + getNumRegs() { return numregs; } - bool diffSinceUpdate(int num) + bool + diffSinceUpdate(int num) { assert(num < numregs && num >= 0); return regDiffSinceUpdate[num]; } - std::string getRegName(int num) + std::string + getRegName(int num) { assert(num < numregs && num >= 0); return regNames[num]; |