diff src/share/vm/shark/sharkInvariants.hpp @ 7607:eab4f9ed602c

Merge
author kvn
date Thu, 17 Jan 2013 18:47:36 -0800
parents c095a7f289aa
children de6a9e811145
line wrap: on
line diff
--- a/src/share/vm/shark/sharkInvariants.hpp	Thu Jan 17 01:27:02 2013 -0500
+++ b/src/share/vm/shark/sharkInvariants.hpp	Thu Jan 17 18:47:36 2013 -0800
@@ -68,7 +68,7 @@
   //
   // Accessing this directly is kind of ugly, so it's private.  Add
   // new accessors below if you need something from it.
- private:
+ protected:
   ciEnv* env() const {
     assert(_env != NULL, "env not available");
     return _env;
@@ -99,12 +99,14 @@
   DebugInformationRecorder* debug_info() const {
     return env()->debug_info();
   }
+  SharkCodeBuffer* code_buffer() const {
+    return builder()->code_buffer();
+  }
+
+ public:
   Dependencies* dependencies() const {
     return env()->dependencies();
   }
-  SharkCodeBuffer* code_buffer() const {
-    return builder()->code_buffer();
-  }
 
   // Commonly used classes
  protected: