From c6ddab95df4b2570b13dc1c3475a664a0ef03cc4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 24 Nov 2006 14:01:18 -0500 Subject: [PATCH] Rename this function. --HG-- extra : convert_revision : 57ea1e1d3b75e35abb3310d392ec70086fff699a --- src/arch/sparc/miscregfile.cc | 2 +- src/arch/sparc/miscregfile.hh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arch/sparc/miscregfile.cc b/src/arch/sparc/miscregfile.cc index 9bbe9a5a0..7b0939c29 100644 --- a/src/arch/sparc/miscregfile.cc +++ b/src/arch/sparc/miscregfile.cc @@ -67,7 +67,7 @@ enum RegMask PSTATE_MASK = (((1 << 4) - 1) << 1) | (((1 << 4) - 1) << 6) | (1 << 12) }; -void MiscRegFile::reset() +void MiscRegFile::clear() { y = 0; ccr = 0; diff --git a/src/arch/sparc/miscregfile.hh b/src/arch/sparc/miscregfile.hh index 3093b56e6..6bc04b583 100644 --- a/src/arch/sparc/miscregfile.hh +++ b/src/arch/sparc/miscregfile.hh @@ -176,11 +176,11 @@ namespace SparcISA #endif public: - void reset(); + void clear(); MiscRegFile() { - reset(); + clear(); } MiscReg readReg(int miscReg); -- 2.30.2