mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7080431: VM asserts if specified size(x) in .ad is larger than emitted size
Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior. Reviewed-by: never
This commit is contained in:
parent
db338313bf
commit
ff4faaab4b
2 changed files with 139 additions and 211 deletions
|
@ -794,9 +794,6 @@ class Compile : public Phase {
|
|||
// 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue