mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-23 01:18:58 +00:00
8388016: [s390x] Remove the alignment from stubGenerator
Reviewed-by: aph, amitkumar
This commit is contained in:
parent
6ae23a0d65
commit
10ec62d643
@ -3306,10 +3306,12 @@ class StubGenerator: public StubCodeGenerator {
|
||||
// Make room for the thawed frames and align the stack.
|
||||
__ add64(Z_RET, frame::z_abi_160_size);
|
||||
|
||||
{ // stack alignment
|
||||
__ z_lcgr(Z_RET, Z_RET); // negate Z_RET value
|
||||
__ z_nill(Z_RET, -frame::alignment_in_bytes);
|
||||
}
|
||||
#ifdef ASSERT
|
||||
__ z_tmll(Z_RET, frame::alignment_in_bytes - 1);
|
||||
__ asm_assert(Assembler::bcondAllZero, FILE_AND_LINE ": size is not aligned properly", 71);
|
||||
#endif // ASSERT
|
||||
|
||||
__ z_lcgr(Z_RET, Z_RET); // negate Z_RET value
|
||||
__ resize_frame( /* offset = */ Z_RET,/* fp = */ Z_R1, /* load_fp = */ true);
|
||||
|
||||
__ z_lghi(Z_ARG2, kind);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user