summaryrefslogtreecommitdiff
path: root/gcc/langhooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/langhooks.c')
-rw-r--r--gcc/langhooks.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 194993f7ab3..7d2c0b08a01 100644
--- a/gcc/langhooks.c
+++ b/gcc/langhooks.c
@@ -260,19 +260,6 @@ lhd_tree_dump_type_quals (const_tree t)
return TYPE_QUALS (t);
}
-/* lang_hooks.expr_size: Determine the size of the value of an expression T
- in a language-specific way. Returns a tree for the size in bytes. */
-
-tree
-lhd_expr_size (const_tree exp)
-{
- if (DECL_P (exp)
- && DECL_SIZE_UNIT (exp) != 0)
- return DECL_SIZE_UNIT (exp);
- else
- return size_in_bytes (TREE_TYPE (exp));
-}
-
/* lang_hooks.gimplify_expr re-writes *EXPR_P into GIMPLE form. */
int