Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_TargetMethod.hpp @ 1942:00bc9eaf0e24
Support for -XX:+UseFastLocking flag. Fixed monitor enter XIR template for correct debug info at the runtime call.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 29 Dec 2010 20:06:41 +0100 |
parents | 79d04223b8a5 |
children |
comparison
equal
deleted
inserted
replaced
1941:79d04223b8a5 | 1942:00bc9eaf0e24 |
---|---|
188 | 188 |
189 #define START_CLASS(name) \ | 189 #define START_CLASS(name) \ |
190 class name : AllStatic { \ | 190 class name : AllStatic { \ |
191 private: \ | 191 private: \ |
192 friend class C1XCompiler; \ | 192 friend class C1XCompiler; \ |
193 static void check(oop obj) { assert(obj != NULL, "NULL field access"); assert(obj->is_a(SystemDictionary::name##_klass()), "wrong class, " #name " expected"); } \ | 193 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"); } \ |
194 static void compute_offsets(); \ | 194 static void compute_offsets(); \ |
195 public: \ | 195 public: \ |
196 static klassOop klass() { return SystemDictionary::name##_klass(); } | 196 static klassOop klass() { return SystemDictionary::name##_klass(); } |
197 | 197 |
198 #define END_CLASS }; | 198 #define END_CLASS }; |