Mercurial > hg > truffle
diff src/share/vm/c1x/c1x_JavaAccess.cpp @ 2282:0309d394eb5f
Added support for non-null oop values in scope objects (allocating global handle).
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Mon, 04 Apr 2011 21:02:45 +0200 |
parents | 999f8086cc4f |
children | 3e3e8bd12730 |
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_JavaAccess.cpp Mon Apr 04 20:00:55 2011 +0200 +++ b/src/share/vm/c1x/c1x_JavaAccess.cpp Mon Apr 04 21:02:45 2011 +0200 @@ -52,7 +52,7 @@ // This piece of macro magic creates the contents of the c1x_compute_offsets method that initializes the field indices of all the access classes. -#define START_CLASS(name) { klassOop k = SystemDictionary::name##_klass(); +#define START_CLASS(name) { klassOop k = SystemDictionary::name##_klass(); assert(k != NULL, "Could not find class " #name ""); #define END_CLASS }