src/share/vm/c1/c1_LIRGenerator.cpp

changeset 5229
075ea888b039
parent 4954
2a9d97b57920
child 5353
b800986664f4
equal deleted inserted replaced
5228:770e91e578a6 5229:075ea888b039
2230 2230
2231 if (gen_pre_barrier) { 2231 if (gen_pre_barrier) {
2232 // We still need to continue with the checks. 2232 // We still need to continue with the checks.
2233 if (src.is_constant()) { 2233 if (src.is_constant()) {
2234 ciObject* src_con = src.get_jobject_constant(); 2234 ciObject* src_con = src.get_jobject_constant();
2235 guarantee(src_con != NULL, "no source constant");
2235 2236
2236 if (src_con->is_null_object()) { 2237 if (src_con->is_null_object()) {
2237 // The constant src object is null - We can skip 2238 // The constant src object is null - We can skip
2238 // generating the code stub. 2239 // generating the code stub.
2239 gen_pre_barrier = false; 2240 gen_pre_barrier = false;

mercurial