Skip to content

Commit e0fd6c4

Browse files
Sidraya Jayagondoffamitkumar
Sidraya Jayagond
authored andcommitted
8329545: [s390x] Fix garbage value being passed in Argument Register
Reviewed-by: amitkumar, mdoerr
1 parent 51ed69a commit e0fd6c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/s390/foreignGlobals_s390.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
33
* Copyright (c) 2020, Red Hat, Inc. All rights reserved.
44
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55
*
@@ -166,7 +166,7 @@ static void move_stack(MacroAssembler* masm, Register tmp_reg, int in_stk_bias,
166166
case StorageType::INTEGER:
167167
switch (from_reg.stack_size()) {
168168
case 8: __ mem2reg_opt(as_Register(to_reg), from_addr, true);break;
169-
case 4: __ mem2reg_opt(as_Register(to_reg), from_addr, false);break;
169+
case 4: __ mem2reg_signed_opt(as_Register(to_reg), from_addr);break;
170170
default: ShouldNotReachHere();
171171
}
172172
break;

0 commit comments

Comments
 (0)