hotspot/src/cpu/sparc/vm/sparc.ad
changeset 33105 294e48b4f704
parent 32082 2a3323e25de1
child 33129 e0bcbb5015b3
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
  1096   MacroAssembler _masm(&cbuf);
  1096   MacroAssembler _masm(&cbuf);
  1097 
  1097 
  1098   Register r = as_Register(ra_->get_encode(this));
  1098   Register r = as_Register(ra_->get_encode(this));
  1099   CodeSection* consts_section = __ code()->consts();
  1099   CodeSection* consts_section = __ code()->consts();
  1100   int consts_size = consts_section->align_at_start(consts_section->size());
  1100   int consts_size = consts_section->align_at_start(consts_section->size());
  1101   assert(constant_table.size() == consts_size, err_msg("must be: %d == %d", constant_table.size(), consts_size));
  1101   assert(constant_table.size() == consts_size, "must be: %d == %d", constant_table.size(), consts_size);
  1102 
  1102 
  1103   if (UseRDPCForConstantTableBase) {
  1103   if (UseRDPCForConstantTableBase) {
  1104     // For the following RDPC logic to work correctly the consts
  1104     // For the following RDPC logic to work correctly the consts
  1105     // section must be allocated right before the insts section.  This
  1105     // section must be allocated right before the insts section.  This
  1106     // assert checks for that.  The layout and the SECT_* constants
  1106     // assert checks for that.  The layout and the SECT_* constants