diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-01 23:22:30 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-05-01 23:22:30 +0000 |
commit | b47bf17460b4b0ad269bfb7cb4fd62a437001b61 (patch) | |
tree | 2bc0e55137ba834a9616595e1bf32e3ad3ec54dd /gcc/calls.c | |
parent | 7e4d48922fd6114dccccd694ae36c8fd5df9a01b (diff) | |
download | gcc-b47bf17460b4b0ad269bfb7cb4fd62a437001b61.tar.gz |
* calls.c (combine_pending_stack_adjustment_and_call): Remove
unnecessary unadjusted_alignment check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247452 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r-- | gcc/calls.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index c92e35ea5a8..c26f157b0b1 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -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 |