Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/output.cpp @ 1686:0e09207fc81b
6974682: CTW: assert(target != NULL) failed: must not be null
Summary: Add address table size to constant section size.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 04 Aug 2010 17:42:20 -0700 |
parents | c18cbe5936b8 |
children | 3e8fbc61cee8 |
comparison
equal
deleted
inserted
replaced
1685:0e35fa8ebccd | 1686:0e09207fc81b |
---|---|
380 // If call/safepoint are adjacent, account for possible | 380 // If call/safepoint are adjacent, account for possible |
381 // nop to disambiguate the two safepoints. | 381 // nop to disambiguate the two safepoints. |
382 if (min_offset_from_last_call == 0) { | 382 if (min_offset_from_last_call == 0) { |
383 blk_size += nop_size; | 383 blk_size += nop_size; |
384 } | 384 } |
385 } else if (mach->ideal_Opcode() == Op_Jump) { | |
386 const_size += b->_num_succs; // Address table size | |
387 // The size is valid even for 64 bit since it is | |
388 // multiplied by 2*jintSize on this method exit. | |
385 } | 389 } |
386 } | 390 } |
387 min_offset_from_last_call += inst_size; | 391 min_offset_from_last_call += inst_size; |
388 // Remember end of call offset | 392 // Remember end of call offset |
389 if (nj->is_MachCall() && nj->as_MachCall()->is_safepoint_node()) { | 393 if (nj->is_MachCall() && nj->as_MachCall()->is_safepoint_node()) { |