comparison src/share/vm/graal/graalJavaAccess.hpp @ 2891:75a99b4f1c98

Rebranded C++ part from C1X to Graal.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 14:01:51 +0200
parents c23d45daff9b
children 0e3ec0a4eda4
comparison
equal deleted inserted replaced
2890:c23d45daff9b 2891:75a99b4f1c98
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 void c1x_compute_offsets(); 24 void graal_compute_offsets();
25 25
26 #include "classfile/systemDictionary.hpp" 26 #include "classfile/systemDictionary.hpp"
27 #include "oops/instanceMirrorKlass.hpp" 27 #include "oops/instanceMirrorKlass.hpp"
28 28
29 /* This macro defines the structure of the CiTargetMethod - classes. 29 /* This macro defines the structure of the CiTargetMethod - classes.
206 206
207 207
208 #define START_CLASS(name) \ 208 #define START_CLASS(name) \
209 class name : AllStatic { \ 209 class name : AllStatic { \
210 private: \ 210 private: \
211 friend class C1XCompiler; \ 211 friend class GraalCompiler; \
212 static void check(oop obj) { assert(obj != NULL, "NULL field access of class " #name); assert(obj->is_a(SystemDictionary::name##_klass()), "wrong class, " #name " expected"); } \ 212 static void check(oop obj) { assert(obj != NULL, "NULL field access of class " #name); assert(obj->is_a(SystemDictionary::name##_klass()), "wrong class, " #name " expected"); } \
213 static void compute_offsets(); \ 213 static void compute_offsets(); \
214 public: \ 214 public: \
215 static klassOop klass() { return SystemDictionary::name##_klass(); } 215 static klassOop klass() { return SystemDictionary::name##_klass(); }
216 216