mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-08 22:19:18 +00:00
8141629: Hs-comp doesn't build with JDK-8139040
Fix benign uninitialized vars Reviewed-by: roland
This commit is contained in:
parent
3307d0f163
commit
6ec2776bf3
@ -6978,6 +6978,7 @@ void MacroAssembler::string_compare(Register str1, Register str2,
|
||||
stride = 8;
|
||||
}
|
||||
} else {
|
||||
scale = Address::no_scale; // not used
|
||||
scale1 = Address::times_1;
|
||||
scale2 = Address::times_2;
|
||||
stride = 8;
|
||||
|
||||
@ -1239,7 +1239,7 @@ bool LibraryCallKit::inline_string_copy(bool compress) {
|
||||
Node* dst_start = array_element_address(dst, dst_offset, dst_elem);
|
||||
// 'src_start' points to src array + scaled offset
|
||||
// 'dst_start' points to dst array + scaled offset
|
||||
Node* count;
|
||||
Node* count = NULL;
|
||||
if (compress) {
|
||||
count = compress_string(src_start, dst_start, length);
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user