diff 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
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp	Wed Nov 16 01:52:31 2011 +0100
+++ b/src/share/vm/graal/graalEnv.cpp	Wed Nov 16 11:59:35 2011 +0100
@@ -132,7 +132,7 @@
     }
   }
 
-  if (found_klass.is_null() == NULL && !cpool.is_null() && cpool->has_preresolution()) {
+  if (found_klass.is_null() && !cpool.is_null() && cpool->has_preresolution()) {
     // Look inside the constant pool for pre-resolved class entries.
     for (int i = cpool->length() - 1; i >= 1; i--) {
       if (cpool->tag_at(i).is_klass()) {