diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-26 23:49:10 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-26 23:49:10 +0000 |
commit | 1ad4c71a87b858bb7ca678f2afa70400495f37f5 (patch) | |
tree | 825101adae5182c6568c30fff355131845717be2 /gcc | |
parent | 2b7794ad0be64f46c4ad99ca580a5eabe86a3d37 (diff) | |
download | gcc-1ad4c71a87b858bb7ca678f2afa70400495f37f5.zip gcc-1ad4c71a87b858bb7ca678f2afa70400495f37f5.tar.gz gcc-1ad4c71a87b858bb7ca678f2afa70400495f37f5.tar.bz2 |
(jump_optimize): Insert missing GET_MODE call.
From-SVN: r4578
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/jump.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -346,10 +346,10 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && XEXP (XEXP (dest, 0), 0) == stack_pointer_rtx)) break; pushes++; - if (total_pushed + GET_MODE_SIZE (SET_DEST (pbody)) + if (total_pushed + GET_MODE_SIZE (GET_MODE (SET_DEST (pbody))) > stack_adjust_amount) break; - total_pushed += GET_MODE_SIZE (SET_DEST (pbody)); + total_pushed += GET_MODE_SIZE (GET_MODE (SET_DEST (pbody))); } /* Discard the amount pushed from the stack adjust; @@ -379,7 +379,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) && GET_CODE (XEXP (dest, 0)) == POST_INC && XEXP (XEXP (dest, 0), 0) == stack_pointer_rtx)) break; - total_pushed -= GET_MODE_SIZE (SET_DEST (pbody)); + total_pushed -= GET_MODE_SIZE (GET_MODE (SET_DEST (pbody))); /* If this push doesn't fully fit in the space of the stack adjust that we deleted, make another stack adjust here for what we |