Commit 6e72d1e9 by Steven Bosscher Committed by Andreas Jaeger

gcse.c (hash_scan_set, [...]): Revert previous change, don't use CALL_P.

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.

From-SVN: r83080
parent e5da415c
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> 2004-06-13 Jason Merrill <jason@redhat.com>
* tree.h: Move std_gimplify_va_arg_expr protoype here. * tree.h: Move std_gimplify_va_arg_expr protoype here.
......
...@@ -2071,7 +2071,7 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table *table) ...@@ -2071,7 +2071,7 @@ hash_scan_set (rtx pat, rtx insn, struct hash_table *table)
rtx dest = SET_DEST (pat); rtx dest = SET_DEST (pat);
rtx note; rtx note;
if (CALL_P (src)) if (GET_CODE (src) == CALL)
hash_scan_call (src, insn, table); hash_scan_call (src, insn, table);
else if (REG_P (dest)) else if (REG_P (dest))
...@@ -2231,13 +2231,13 @@ hash_scan_insn (rtx insn, struct hash_table *table, int in_libcall_block) ...@@ -2231,13 +2231,13 @@ hash_scan_insn (rtx insn, struct hash_table *table, int in_libcall_block)
hash_scan_set (x, insn, table); hash_scan_set (x, insn, table);
else if (GET_CODE (x) == CLOBBER) else if (GET_CODE (x) == CLOBBER)
hash_scan_clobber (x, insn, table); hash_scan_clobber (x, insn, table);
else if (CALL_P (x)) else if (GET_CODE (x) == CALL)
hash_scan_call (x, insn, table); hash_scan_call (x, insn, table);
} }
else if (GET_CODE (pat) == CLOBBER) else if (GET_CODE (pat) == CLOBBER)
hash_scan_clobber (pat, insn, table); hash_scan_clobber (pat, insn, table);
else if (CALL_P (pat)) else if (GET_CODE (pat) == CALL)
hash_scan_call (pat, insn, table); hash_scan_call (pat, insn, table);
} }
...@@ -2745,7 +2745,7 @@ mark_set (rtx pat, rtx insn) ...@@ -2745,7 +2745,7 @@ mark_set (rtx pat, rtx insn)
else if (MEM_P (dest)) else if (MEM_P (dest))
record_last_mem_set_info (insn); record_last_mem_set_info (insn);
if (CALL_P (SET_SRC (pat))) if (GET_CODE (SET_SRC (pat)) == CALL)
mark_call (insn); mark_call (insn);
} }
...@@ -2785,13 +2785,13 @@ mark_oprs_set (rtx insn) ...@@ -2785,13 +2785,13 @@ mark_oprs_set (rtx insn)
mark_set (x, insn); mark_set (x, insn);
else if (GET_CODE (x) == CLOBBER) else if (GET_CODE (x) == CLOBBER)
mark_clobber (x, insn); mark_clobber (x, insn);
else if (CALL_P (x)) else if (GET_CODE (x) == CALL)
mark_call (insn); mark_call (insn);
} }
else if (GET_CODE (pat) == CLOBBER) else if (GET_CODE (pat) == CLOBBER)
mark_clobber (pat, insn); mark_clobber (pat, insn);
else if (CALL_P (pat)) else if (GET_CODE (pat) == CALL)
mark_call (insn); mark_call (insn);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment