summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-28 05:03:09 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-28 05:03:09 +0000
commit1c14a50e12405b4938c6ff3258c37654c3495f51 (patch)
treefe6f1039398672aa41a8e7ee84c0d75a91f4b324 /gcc/value-prof.c
parent352141aed7157302a8ce0df16a90837a8d94fce4 (diff)
downloadlinaro-gcc-1c14a50e12405b4938c6ff3258c37654c3495f51.tar.gz
linaro-gcc-1c14a50e12405b4938c6ff3258c37654c3495f51.tar.bz2
linaro-gcc-1c14a50e12405b4938c6ff3258c37654c3495f51.zip
* bt-load.c, cfgexpand.c, dwarf2out.c, emit-rtl.c, expr.c,
function.c, global.c, lcm.c, loop-invariant.c, optabs.c, reorg.c, resource.c, tree-ssa-loop-ivopts.c, value-prof.c: Use JUMP_P, LABEL_P, REG_P, MEM_P, NONJUMP_INSN_P, and INSN_P where appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98913 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 4f6d0c3cf9a..b96cdcafbf6 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -232,7 +232,7 @@ find_mem_reference_1 (rtx *expr, void *ret)
{
rtx *mem = ret;
- if (GET_CODE (*expr) == MEM)
+ if (MEM_P (*expr))
{
*mem = *expr;
return 1;
@@ -283,7 +283,7 @@ insn_prefetch_values_to_profile (rtx insn, histogram_values* values)
histogram_value hist;
/* It only makes sense to look for memory references in ordinary insns. */
- if (GET_CODE (insn) != INSN)
+ if (!NONJUMP_INSN_P (insn))
return false;
if (!find_mem_reference (insn, &mem, &write))