aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/go-backend.c')
-rw-r--r--gcc/go/go-backend.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.c
index 4d1ea82..5dab2f1 100644
--- a/gcc/go/go-backend.c
+++ b/gcc/go/go-backend.c
@@ -1,5 +1,5 @@
/* go-backend.c -- Go frontend interface to gcc backend.
- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
This file is part of GCC.
@@ -48,14 +48,6 @@ along with GCC; see the file COPYING3. If not see
/* This file holds all the cases where the Go frontend needs
information from gcc's backend. */
-/* Return the alignment in bytes of a value of type T. */
-
-unsigned int
-go_type_alignment (tree t)
-{
- return TYPE_ALIGN_UNIT (t);
-}
-
/* Return the alignment in bytes of a struct field of type T. */
unsigned int