aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@freesoft.cz>1999-04-12 03:39:00 +0200
committerJeff Law <law@gcc.gnu.org>1999-04-11 19:39:00 -0600
commit21b2cd732182b457962d0f248662c5d894e147ca (patch)
treeb1abeb01e48cccbcff7900a7efb77f510d276733 /gcc/jump.c
parent6b1d78bf509804015999f36eb34ff78608aaf40d (diff)
downloadgcc-21b2cd732182b457962d0f248662c5d894e147ca.zip
gcc-21b2cd732182b457962d0f248662c5d894e147ca.tar.gz
gcc-21b2cd732182b457962d0f248662c5d894e147ca.tar.bz2
reg-stack.c: Update comment, include varray.h.
* reg-stack.c: Update comment, include varray.h. (stack_regs_mentioned_data): New global variable. (check_stack_regs_mentioned): New function. (stack_regs_mentioned): New function. (reg_to_stack): Initialize and free stack_regs_mentioned_data, use stack_regs_mentioned. (record_asm_reg_life): Change insn type cache for changed insn. (record_reg_life): Do not change the insn mode. (emit_pop_insn): Likewise. (emit_swap_insn): Likewise. (move_for_stack_reg): Likewise. (stack_reg_life_analysis): Use stack_regs_mentioned. (emit_swap_insn): Likewise. (subst_stack_regs): Likewise. (convert_regs): Likewise. * jump.c (find_cross_jump): Use stack_regs_mentioned. * rtl.h (stack_regs_mentioned): Declare. From-SVN: r26360
Diffstat (limited to 'gcc/jump.c')
-rw-r--r--gcc/jump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index 7c11fd3..f961acc 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -2867,7 +2867,7 @@ find_cross_jump (e1, e2, minimum, f1, f2)
indicates whether or not the insn contains any stack-like
regs. */
- if (!lose && cross_jump_death_matters && GET_MODE (i1) == QImode)
+ if (!lose && cross_jump_death_matters && stack_regs_mentioned (i1))
{
/* If register stack conversion has already been done, then
death notes must also be compared before it is certain that