6910461: Register allocator may insert spill code at wrong insertion index
When resolving exception edges after register allocation, the C1 register allocator may insert spill code at the wrong insertion position. Reviewed-by: kvn, never
This commit is contained in:
parent
825a304b38
commit
ff47163220
@ -1884,7 +1884,7 @@ void LinearScan::resolve_exception_entry(BlockBegin* block, MoveResolver &move_r
|
||||
|
||||
if (move_resolver.has_mappings()) {
|
||||
// insert moves after first instruction
|
||||
move_resolver.set_insert_position(block->lir(), 1);
|
||||
move_resolver.set_insert_position(block->lir(), 0);
|
||||
move_resolver.resolve_and_append_moves();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user