8329545: [s390x] Fix garbage value being passed in Argument Register

Reviewed-by: amitkumar, mdoerr
This commit is contained in:
Sidraya Jayagond 2024-04-10 10:12:21 +00:00 committed by Amit Kumar
parent 51ed69a586
commit e0fd6c4c9e

View File

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