Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
7573:17b6a63fe7c2 | 7643:3ac7d10a6572 |
---|---|
66 // addition to this it acts as a holder for various recorders and | 66 // addition to this it acts as a holder for various recorders and |
67 // memory allocators. | 67 // memory allocators. |
68 // | 68 // |
69 // Accessing this directly is kind of ugly, so it's private. Add | 69 // Accessing this directly is kind of ugly, so it's private. Add |
70 // new accessors below if you need something from it. | 70 // new accessors below if you need something from it. |
71 private: | 71 protected: |
72 ciEnv* env() const { | 72 ciEnv* env() const { |
73 assert(_env != NULL, "env not available"); | 73 assert(_env != NULL, "env not available"); |
74 return _env; | 74 return _env; |
75 } | 75 } |
76 | 76 |
97 // Objects that handle various aspects of the compilation. | 97 // Objects that handle various aspects of the compilation. |
98 protected: | 98 protected: |
99 DebugInformationRecorder* debug_info() const { | 99 DebugInformationRecorder* debug_info() const { |
100 return env()->debug_info(); | 100 return env()->debug_info(); |
101 } | 101 } |
102 SharkCodeBuffer* code_buffer() const { | |
103 return builder()->code_buffer(); | |
104 } | |
105 | |
106 public: | |
102 Dependencies* dependencies() const { | 107 Dependencies* dependencies() const { |
103 return env()->dependencies(); | 108 return env()->dependencies(); |
104 } | |
105 SharkCodeBuffer* code_buffer() const { | |
106 return builder()->code_buffer(); | |
107 } | 109 } |
108 | 110 |
109 // Commonly used classes | 111 // Commonly used classes |
110 protected: | 112 protected: |
111 ciInstanceKlass* java_lang_Object_klass() const { | 113 ciInstanceKlass* java_lang_Object_klass() const { |