< prev index next >

src/cpu/sparc/vm/sparc.ad

Print this page

        

*** 1096,1106 **** MacroAssembler _masm(&cbuf); Register r = as_Register(ra_->get_encode(this)); CodeSection* consts_section = __ code()->consts(); int consts_size = consts_section->align_at_start(consts_section->size()); ! assert(constant_table.size() == consts_size, err_msg("must be: %d == %d", constant_table.size(), consts_size)); if (UseRDPCForConstantTableBase) { // For the following RDPC logic to work correctly the consts // section must be allocated right before the insts section. This // assert checks for that. The layout and the SECT_* constants --- 1096,1106 ---- MacroAssembler _masm(&cbuf); Register r = as_Register(ra_->get_encode(this)); CodeSection* consts_section = __ code()->consts(); int consts_size = consts_section->align_at_start(consts_section->size()); ! assert(constant_table.size() == consts_size, "must be: %d == %d", constant_table.size(), consts_size); if (UseRDPCForConstantTableBase) { // For the following RDPC logic to work correctly the consts // section must be allocated right before the insts section. This // assert checks for that. The layout and the SECT_* constants
< prev index next >