mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8178500: Replace usages of round_to and round_down with align_up and align_down
Reviewed-by: rehn, tschatzl
This commit is contained in:
parent
dbd3b5a79e
commit
d37b9c1f8d
68 changed files with 254 additions and 271 deletions
|
@ -788,7 +788,7 @@ void PhaseMacroExpand::generate_clear_array(Node* ctrl, MergeMemNode* merge_mem,
|
|||
intptr_t end_con = _igvn.find_intptr_t_con(dest_size, -1);
|
||||
if (slice_idx_con >= 0 && slice_len_con >= 0) {
|
||||
assert(end_con < 0, "not two cons");
|
||||
end_con = round_to(abase + ((slice_idx_con + slice_len_con) << scale),
|
||||
end_con = align_up(abase + ((slice_idx_con + slice_len_con) << scale),
|
||||
BytesPerLong);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue