Skip to content

Commit

Permalink
8329545: [s390x] Fix garbage value being passed in Argument Register
Browse files Browse the repository at this point in the history
Backport-of: e0fd6c4c9e30ef107ea930c8ecc449842ae4b8d4
  • Loading branch information
Sidraya Jayagond authored and TheRealMDoerr committed Apr 12, 2024
1 parent 1825464 commit 807f21d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/s390/foreignGlobals_s390.cpp
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down Expand Up @@ -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;
Expand Down

1 comment on commit 807f21d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.