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
This commit is contained in:
Ian Lance Taylor 2016-09-10 10:39:22 +00:00 committed by Ian Lance Taylor
parent 99e77371ca
commit ec1ea9cfbc
3 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2016-09-10 Ian Lance Taylor <iant@golang.org>
* go-backend.c (go_trampoline_info): Remove.
* go-c.h (go_trampoline_info): Don't declare.
2016-09-09 Than McIntosh <thanm@google.com>
* go-sha1.cc: New file.

View File

@ -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. */

View File

@ -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);