diff options
author | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-10-18 12:39:34 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-10-18 12:39:34 +0000 |
commit | 377d9792759129b52e9fa1f5fff1e56c9cade399 (patch) | |
tree | aeb93841dcc0c6f4da704c90ee59e2127934f0f2 /gcc/tree-ssa-operands.c | |
parent | 8ad8afaf72139fb49d5cbcae89115c340ee59a6e (diff) | |
download | gcc-377d9792759129b52e9fa1f5fff1e56c9cade399.zip gcc-377d9792759129b52e9fa1f5fff1e56c9cade399.tar.gz gcc-377d9792759129b52e9fa1f5fff1e56c9cade399.tar.bz2 |
tree-cfg.h: Rename from tree-flow.h.
* tree-cfg.h: Rename from tree-flow.h. Remove #includes.
* tree-ssa.h: Relocate required #includes from tree-cfg.h.
* tree-ssa-operands.h: Remove prototype.
* tree-ssa-operands.c (virtual_operand_p): Move to gimple.c.
* gimple.c (virtual_operand_p): Relocate from gimple.c.
* gimple.h: Add prototype.
* gimple-ssa.h: Include tree-ssa-operands.h.
* tree-dump.c: Add tree-cfg.h to include list.
* tree-ssa-alias.c: Add ipa-reference.h to include list.
* config/alpha/alpha.c: Include gimple-ssa.h instead of tree-flow.h.
* config/i386/i386.c: Don't include tree-flow.h.
* config/rs6000/rs6000.c: Likewise.
* lto/lto.c: Remove tree-flow.h from include list.
* testsuite/g++.dg/plugin/header_plugin.c: Don't include tree-flow.h.
From-SVN: r203817
Diffstat (limited to 'gcc/tree-ssa-operands.c')
-rw-r--r-- | gcc/tree-ssa-operands.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c index 603f797..f397bb9 100644 --- a/gcc/tree-ssa-operands.c +++ b/gcc/tree-ssa-operands.c @@ -1287,24 +1287,6 @@ debug_immediate_uses_for (tree var) } -/* Return true if OP, an SSA name or a DECL is a virtual operand. */ - -bool -virtual_operand_p (tree op) -{ - if (TREE_CODE (op) == SSA_NAME) - { - op = SSA_NAME_VAR (op); - if (!op) - return false; - } - - if (TREE_CODE (op) == VAR_DECL) - return VAR_DECL_IS_VIRTUAL_OPERAND (op); - - return false; -} - /* Unlink STMTs virtual definition from the IL by propagating its use. */ void |