aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 2b7ab9e..b2b9590 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1936,20 +1936,6 @@ inlinable_function_p (tree fn)
return inlinable;
}
-/* Return true if we shall disregard inlining limits for the function
- FN during inlining. */
-
-bool
-disregard_inline_limits_p (tree fn)
-{
- /* GNU extern inline functions are supposed to be cheap. */
- if (DECL_DECLARED_INLINE_P (fn)
- && DECL_EXTERNAL (fn))
- return true;
-
- return lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)) != NULL_TREE;
-}
-
/* Estimate the cost of a memory move. Use machine dependent
word size and take possible memcpy call into account. */