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