From ec1ea9cfbcd4a1285b4dfa81cb1680aed3ecd7e5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 10 Sep 2016 10:39:22 +0000 Subject: [PATCH] go-backend.c (go_trampoline_info): Remove. * go-backend.c (go_trampoline_info): Remove. * go-c.h (go_trampoline_info): Don't declare. From-SVN: r240069 --- gcc/go/ChangeLog | 5 +++++ gcc/go/go-backend.c | 9 --------- gcc/go/go-c.h | 2 -- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index 82c90d2e571..4603308a68c 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,8 @@ +2016-09-10 Ian Lance Taylor + + * go-backend.c (go_trampoline_info): Remove. + * go-c.h (go_trampoline_info): Don't declare. + 2016-09-09 Than McIntosh * go-sha1.cc: New file. diff --git a/gcc/go/go-backend.c b/gcc/go/go-backend.c index 1c62495c38d..99609f0fc16 100644 --- a/gcc/go/go-backend.c +++ b/gcc/go/go-backend.c @@ -80,15 +80,6 @@ go_field_alignment (tree t) return v / BITS_PER_UNIT; } -/* Return the size and alignment of a trampoline. */ - -void -go_trampoline_info (unsigned int *size, unsigned int *alignment) -{ - *size = TRAMPOLINE_SIZE; - *alignment = TRAMPOLINE_ALIGNMENT; -} - /* This is called by the Go frontend proper if the unsafe package was imported. When that happens we can not do type-based alias analysis. */ diff --git a/gcc/go/go-c.h b/gcc/go/go-c.h index a96812d3cb5..194c1a9ca64 100644 --- a/gcc/go/go-c.h +++ b/gcc/go/go-c.h @@ -63,8 +63,6 @@ extern const char *go_localize_identifier (const char*); extern unsigned int go_field_alignment (tree); -extern void go_trampoline_info (unsigned int *size, unsigned int *alignment); - extern void go_imported_unsafe (void); extern void go_write_export_data (const char *, unsigned int); -- 2.30.2