OSDN Git Service

2004-06-13 Steven Bosscher <stevenb@suse.de>
authoraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jun 2004 04:55:35 +0000 (04:55 +0000)
committeraj <aj@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 Jun 2004 04:55:35 +0000 (04:55 +0000)
* gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set):
Revert previous change, don't use CALL_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83080 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcse.c

index 671abfe..57aea54 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-13  Steven Bosscher <stevenb@suse.de>
+
+       * gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set):
+       Revert previous change, don't use CALL_P.
+
 2004-06-13  Jason Merrill  <jason@redhat.com>
 
        * tree.h: Move std_gimplify_va_arg_expr protoype here.
index 20baed8..22f19bb 100644 (file)
@@ -2071,7 +2071,7 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table *table)
   rtx dest = SET_DEST (pat);
   rtx note;
 
-  if (CALL_P (src))
+  if (GET_CODE (src) == CALL)
     hash_scan_call (src, insn, table);
 
   else if (REG_P (dest))
@@ -2231,13 +2231,13 @@ hash_scan_insn (rtx insn, struct hash_table *table, int in_libcall_block)
          hash_scan_set (x, insn, table);
        else if (GET_CODE (x) == CLOBBER)
          hash_scan_clobber (x, insn, table);
-       else if (CALL_P (x))
+       else if (GET_CODE (x) == CALL)
          hash_scan_call (x, insn, table);
       }
 
   else if (GET_CODE (pat) == CLOBBER)
     hash_scan_clobber (pat, insn, table);
-  else if (CALL_P (pat))
+  else if (GET_CODE (pat) == CALL)
     hash_scan_call (pat, insn, table);
 }
 
@@ -2745,7 +2745,7 @@ mark_set (rtx pat, rtx insn)
   else if (MEM_P (dest))
     record_last_mem_set_info (insn);
 
-  if (CALL_P (SET_SRC (pat)))
+  if (GET_CODE (SET_SRC (pat)) == CALL)
     mark_call (insn);
 }
 
@@ -2785,13 +2785,13 @@ mark_oprs_set (rtx insn)
          mark_set (x, insn);
        else if (GET_CODE (x) == CLOBBER)
          mark_clobber (x, insn);
-       else if (CALL_P (x))
+       else if (GET_CODE (x) == CALL)
          mark_call (insn);
       }
 
   else if (GET_CODE (pat) == CLOBBER)
     mark_clobber (pat, insn);
-  else if (CALL_P (pat))
+  else if (GET_CODE (pat) == CALL)
     mark_call (insn);
 }