equal
deleted
inserted
replaced
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; |