comparison src/share/vm/opto/compile.hpp @ 3857:739a9abbbd4b

7080431: VM asserts if specified size(x) in .ad is larger than emitted size Summary: Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior. Reviewed-by: never
author kvn
date Thu, 18 Aug 2011 11:49:33 -0700
parents 95134e034042
children f6f3bb0ee072
comparison
equal deleted inserted replaced
3856:bd87c0dcaba5 3857:739a9abbbd4b
792 void fill_buffer(CodeBuffer* cb, uint* blk_starts); 792 void fill_buffer(CodeBuffer* cb, uint* blk_starts);
793 793
794 // Determine which variable sized branches can be shortened 794 // Determine which variable sized branches can be shortened
795 void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size); 795 void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size);
796 796
797 // Inserts nops where needed and final shorten branches.
798 void finalize_offsets_and_shorten(uint* blk_starts);
799
800 // Compute the size of first NumberOfLoopInstrToAlign instructions 797 // Compute the size of first NumberOfLoopInstrToAlign instructions
801 // at the head of a loop. 798 // at the head of a loop.
802 void compute_loop_first_inst_sizes(); 799 void compute_loop_first_inst_sizes();
803 800
804 // Compute the information for the exception tables 801 // Compute the information for the exception tables