CPU: Make the constants for StaticInst flags visible outside the class.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 23 Aug 2010 16:44:19 +0000 (09:44 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 23 Aug 2010 16:44:19 +0000 (09:44 -0700)
src/cpu/static_inst.hh

index fdec097560bca9f1c478f6aa2a1e18839c938e63..fa42058364e8ac376254d3d88fb3ee168cd9b827 100644 (file)
@@ -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;