Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.hpp Wed Aug 17 11:52:22 2011 -0700 +++ b/src/share/vm/opto/compile.hpp Thu Aug 18 11:49:33 2011 -0700 @@ -794,9 +794,6 @@ // Determine which variable sized branches can be shortened void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size); - // Inserts nops where needed and final shorten branches. - void finalize_offsets_and_shorten(uint* blk_starts); - // Compute the size of first NumberOfLoopInstrToAlign instructions // at the head of a loop. void compute_loop_first_inst_sizes();