hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 34500 3c82f7ac03e6
parent 34220 1ba69cb5585c
child 35071 a0910b1d3e0d
equal deleted inserted replaced
34499:343abbc06572 34500:3c82f7ac03e6
  1161             NativeMovConstReg* n_copy2 = nativeMovConstReg_at(copy_buff);
  1161             NativeMovConstReg* n_copy2 = nativeMovConstReg_at(copy_buff);
  1162             n_copy2->set_pc_relative_offset(addr, instr_pc);
  1162             n_copy2->set_pc_relative_offset(addr, instr_pc);
  1163           }
  1163           }
  1164 #endif
  1164 #endif
  1165 
  1165 
  1166           for (int i = NativeCall::instruction_size; i < *byte_count; i++) {
  1166           for (int i = NativeGeneralJump::instruction_size; i < *byte_count; i++) {
  1167             address ptr = copy_buff + i;
  1167             address ptr = copy_buff + i;
  1168             int a_byte = (*ptr) & 0xFF;
  1168             int a_byte = (*ptr) & 0xFF;
  1169             address dst = instr_pc + i;
  1169             address dst = instr_pc + i;
  1170             *(unsigned char*)dst = (unsigned char) a_byte;
  1170             *(unsigned char*)dst = (unsigned char) a_byte;
  1171           }
  1171           }