hotspot/src/share/vm/oops/methodData.hpp
changeset 17370 59a0620561fa
parent 16689 efce070b8d42
child 20011 d74937287461
child 22836 e7e511228518
--- a/hotspot/src/share/vm/oops/methodData.hpp	Wed May 08 21:06:46 2013 -0400
+++ b/hotspot/src/share/vm/oops/methodData.hpp	Fri May 10 08:27:30 2013 -0700
@@ -1338,9 +1338,9 @@
   void set_would_profile(bool p)              { _would_profile = p;    }
   bool would_profile() const                  { return _would_profile; }
 
-  int highest_comp_level()                    { return _highest_comp_level;      }
+  int highest_comp_level() const              { return _highest_comp_level;      }
   void set_highest_comp_level(int level)      { _highest_comp_level = level;     }
-  int highest_osr_comp_level()                { return _highest_osr_comp_level;  }
+  int highest_osr_comp_level() const          { return _highest_osr_comp_level;  }
   void set_highest_osr_comp_level(int level)  { _highest_osr_comp_level = level; }
 
   int num_loops() const                       { return _num_loops;  }