hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 17879 49ac5c39b28f
parent 17018 6ba29eb83bba
child 18507 61bfc8995bb3
equal deleted inserted replaced
17878:ec32f692e27b 17879:49ac5c39b28f
  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;