summaryrefslogtreecommitdiffstats
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h
index 164df957315..8243f297747 100644
--- a/gcc/tree-flow-inline.h
+++ b/gcc/tree-flow-inline.h
@@ -107,21 +107,6 @@ may_be_aliased (const_tree var)
|| TREE_ADDRESSABLE (var)));
}
-
-/* Returns the loop of the statement STMT. */
-
-static inline struct loop *
-loop_containing_stmt (gimple stmt)
-{
- basic_block bb = gimple_bb (stmt);
- if (!bb)
- return NULL;
-
- return bb->loop_father;
-}
-
-
-
/* Return true if VAR cannot be modified by the program. */
static inline bool
OpenPOWER on IntegriCloud