Mercurial > hg > truffle
diff src/share/vm/shark/sharkInvariants.hpp @ 7643:3ac7d10a6572
Merge with hsx25/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 31 Jan 2013 15:42:25 +0100 |
parents | c095a7f289aa |
children | de6a9e811145 |
line wrap: on
line diff
--- a/src/share/vm/shark/sharkInvariants.hpp Thu Jan 31 11:32:14 2013 +0100 +++ b/src/share/vm/shark/sharkInvariants.hpp Thu Jan 31 15:42:25 2013 +0100 @@ -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: