From f5ea8c530cdc4e8a16a7f69f38b0eaa613a35036 Mon Sep 17 00:00:00 2001 From: amacleod Date: Tue, 5 Nov 2013 14:13:56 +0000 Subject: 2013-11-05 Andrew MacLeod * tree-outof-ssa.c (queue_phi_copy_p): Combine phi_ssa_name_p from gimple.h and the rest of the condition in eliminate_build. (eliminate_build): Call new routine. * gimple.h (phi_ssa_name_p): Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204393 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gimple.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gcc/gimple.h') diff --git a/gcc/gimple.h b/gcc/gimple.h index b34424c18d3..90773c00524 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -3633,19 +3633,6 @@ gimple_phi_set_arg (gimple gs, unsigned index, struct phi_arg_d * phiarg) gs->gimple_phi.args[index] = *phiarg; } -/* PHI nodes should contain only ssa_names and invariants. A test - for ssa_name is definitely simpler; don't let invalid contents - slip in in the meantime. */ - -static inline bool -phi_ssa_name_p (const_tree t) -{ - if (TREE_CODE (t) == SSA_NAME) - return true; - gcc_checking_assert (is_gimple_min_invariant (t)); - return false; -} - /* Return the PHI nodes for basic block BB, or NULL if there are no PHI nodes. */ -- cgit v1.2.1