hotspot/src/share/vm/opto/macroArrayCopy.cpp
changeset 46620 750c6edff33b
parent 45427 64e07017ce01
child 46625 edefffab74e2
equal deleted inserted replaced
46619:a3919f5e8d2b 46620:750c6edff33b
   786   }
   786   }
   787   intptr_t start_con = (abase + (slice_idx_con << scale)) & ~clear_low;
   787   intptr_t start_con = (abase + (slice_idx_con << scale)) & ~clear_low;
   788   intptr_t end_con   = _igvn.find_intptr_t_con(dest_size, -1);
   788   intptr_t end_con   = _igvn.find_intptr_t_con(dest_size, -1);
   789   if (slice_idx_con >= 0 && slice_len_con >= 0) {
   789   if (slice_idx_con >= 0 && slice_len_con >= 0) {
   790     assert(end_con < 0, "not two cons");
   790     assert(end_con < 0, "not two cons");
   791     end_con = round_to(abase + ((slice_idx_con + slice_len_con) << scale),
   791     end_con = align_up(abase + ((slice_idx_con + slice_len_con) << scale),
   792                        BytesPerLong);
   792                        BytesPerLong);
   793   }
   793   }
   794 
   794 
   795   if (start_con >= 0 && end_con >= 0) {
   795   if (start_con >= 0 && end_con >= 0) {
   796     // Constant start and end.  Simple.
   796     // Constant start and end.  Simple.