calls.c (combine_pending_stack_adjustment_and_call): Remove unnecessary unadjusted_alignment check.
* calls.c (combine_pending_stack_adjustment_and_call): Remove unnecessary unadjusted_alignment check. From-SVN: r247452
This commit is contained in:
parent
5a4dbf7d31
commit
0aae15720e
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-05-01 Nathan Sidwell <nathan@acm.org>
|
||||
|
||||
* calls.c (combine_pending_stack_adjustment_and_call): Remove
|
||||
unnecessary unadjusted_alignment check.
|
||||
|
||||
2017-05-01 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
|
||||
|
||||
PR c++/80038
|
||||
|
|
|
@ -2644,13 +2644,8 @@ combine_pending_stack_adjustment_and_call (int unadjusted_args_size,
|
|||
adjustment = pending_stack_adjust;
|
||||
/* Push enough additional bytes that the stack will be aligned
|
||||
after the arguments are pushed. */
|
||||
if (preferred_unit_stack_boundary > 1)
|
||||
{
|
||||
if (unadjusted_alignment > 0)
|
||||
adjustment -= preferred_unit_stack_boundary - unadjusted_alignment;
|
||||
else
|
||||
adjustment += unadjusted_alignment;
|
||||
}
|
||||
if (preferred_unit_stack_boundary > 1 && unadjusted_alignment)
|
||||
adjustment -= preferred_unit_stack_boundary - unadjusted_alignment;
|
||||
|
||||
/* Now, sets ARGS_SIZE->CONSTANT so that we pop the right number of
|
||||
bytes after the call. The right number is the entire
|
||||
|
|
Loading…
Add table
Reference in a new issue