summaryrefslogtreecommitdiff
path: root/src/cpu/static_inst.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-08-23 09:44:19 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-08-23 09:44:19 -0700
commitb187e7c9cc025dbd5bc525de3ef9352219007f72 (patch)
tree4348e8a2b55ff6a31beb5480fd4559a5febea9d0 /src/cpu/static_inst.hh
parent6f24da359f3918671aef691990c205f9dc5b2845 (diff)
downloadgem5-b187e7c9cc025dbd5bc525de3ef9352219007f72.tar.xz
CPU: Make the constants for StaticInst flags visible outside the class.
Diffstat (limited to 'src/cpu/static_inst.hh')
-rw-r--r--src/cpu/static_inst.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/static_inst.hh b/src/cpu/static_inst.hh
index fdec09756..fa4205836 100644
--- a/src/cpu/static_inst.hh
+++ b/src/cpu/static_inst.hh
@@ -104,7 +104,7 @@ isRomMicroPC(MicroPC upc)
*/
class StaticInstBase : public RefCounted
{
- protected:
+ public:
/// Set of boolean static instruction properties.
///
@@ -185,6 +185,8 @@ class StaticInstBase : public RefCounted
NumFlags
};
+ protected:
+
/// Flag values for this instruction.
std::bitset<NumFlags> flags;