diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-08-23 09:44:19 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-08-23 09:44:19 -0700 |
commit | b187e7c9cc025dbd5bc525de3ef9352219007f72 (patch) | |
tree | 4348e8a2b55ff6a31beb5480fd4559a5febea9d0 | |
parent | 6f24da359f3918671aef691990c205f9dc5b2845 (diff) | |
download | gem5-b187e7c9cc025dbd5bc525de3ef9352219007f72.tar.xz |
CPU: Make the constants for StaticInst flags visible outside the class.
-rw-r--r-- | src/cpu/static_inst.hh | 4 |
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; |