(fixup_var_refs_insns): Change from USE and CLOBBER insns to using
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 6 May 1994 21:50:04 +0000 (17:50 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 6 May 1994 21:50:04 +0000 (17:50 -0400)
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7244

gcc/function.c

index ff80a7f2ead41e3a2de2fa9d0c92b3473df7be17..279bd77e1ece44811f8ff1e379be034802eda902 100644 (file)
@@ -1449,19 +1449,7 @@ fixup_var_refs_insns (var, promoted_mode, unsignedp, insn, toplevel)
                        replacements->old
                          = fixup_stack_1 (replacements->old, insn);
 
-                     /* We can not separate USE insns from the CALL_INSN
-                        that they belong to.  If this is a CALL_INSN, insert
-                        the move insn before the USE insns preceding it
-                        instead of immediately before the insn.  */
-                     if (GET_CODE (insn) == CALL_INSN)
-                       {
-                         insert_before = insn;
-                         while (GET_CODE (PREV_INSN (insert_before)) == INSN
-                                && GET_CODE (PATTERN (PREV_INSN (insert_before))) == USE)
-                           insert_before = PREV_INSN (insert_before);
-                       }
-                     else
-                       insert_before = insn;
+                     insert_before = insn;
 
                      /* If we are changing the mode, do a conversion.
                         This might be wasteful, but combine.c will