提交 8ac69c1d 编写于 作者: K kvn

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
上级 1cbf774f
...@@ -794,9 +794,6 @@ class Compile : public Phase { ...@@ -794,9 +794,6 @@ class Compile : public Phase {
// Determine which variable sized branches can be shortened // Determine which variable sized branches can be shortened
void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size); 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 // Compute the size of first NumberOfLoopInstrToAlign instructions
// at the head of a loop. // at the head of a loop.
void compute_loop_first_inst_sizes(); void compute_loop_first_inst_sizes();
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册