mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-03 06:35:31 +00:00
8388477: Replace false with 0 in IntelJccErratum::compute_padding
Reviewed-by: shade
This commit is contained in:
parent
9335968057
commit
2fbd898824
@ -103,7 +103,7 @@ int IntelJccErratum::compute_padding(uintptr_t current_offset, const MachNode* m
|
||||
}
|
||||
if (jcc_size > largest_jcc_size()) {
|
||||
// Let's not try fixing this for nodes that seem unreasonably large
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
if (is_crossing_or_ending_at_32_byte_boundary(current_offset, current_offset + jcc_size)) {
|
||||
return int(align_up(current_offset, 32) - current_offset);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user