src/share/vm/c1/c1_LIRGenerator.cpp

changeset 5229
075ea888b039
parent 4954
2a9d97b57920
child 5353
b800986664f4
     1.1 --- a/src/share/vm/c1/c1_LIRGenerator.cpp	Mon Jun 03 14:02:05 2013 -0700
     1.2 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp	Tue Jun 04 12:06:54 2013 -0700
     1.3 @@ -2232,6 +2232,7 @@
     1.4        // We still need to continue with the checks.
     1.5        if (src.is_constant()) {
     1.6          ciObject* src_con = src.get_jobject_constant();
     1.7 +        guarantee(src_con != NULL, "no source constant");
     1.8  
     1.9          if (src_con->is_null_object()) {
    1.10            // The constant src object is null - We can skip

mercurial