Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalEnv.cpp @ 3639:2fd96b3040b9
Fixed build issue.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 11:59:35 +0100 |
parents | c7d4198a9bce |
children | 0e8a2a629afb |
comparison
equal
deleted
inserted
replaced
3638:e53cfcb230a7 | 3639:2fd96b3040b9 |
---|---|
130 // Now make an array for it | 130 // Now make an array for it |
131 return elem_klass->array_klass(CHECK_NULL); | 131 return elem_klass->array_klass(CHECK_NULL); |
132 } | 132 } |
133 } | 133 } |
134 | 134 |
135 if (found_klass.is_null() == NULL && !cpool.is_null() && cpool->has_preresolution()) { | 135 if (found_klass.is_null() && !cpool.is_null() && cpool->has_preresolution()) { |
136 // Look inside the constant pool for pre-resolved class entries. | 136 // Look inside the constant pool for pre-resolved class entries. |
137 for (int i = cpool->length() - 1; i >= 1; i--) { | 137 for (int i = cpool->length() - 1; i >= 1; i--) { |
138 if (cpool->tag_at(i).is_klass()) { | 138 if (cpool->tag_at(i).is_klass()) { |
139 klassOop kls = cpool->resolved_klass_at(i); | 139 klassOop kls = cpool->resolved_klass_at(i); |
140 if (Klass::cast(kls)->name() == sym) { | 140 if (Klass::cast(kls)->name() == sym) { |