Commit ec1ea9cf by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent 99e77371
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> 2016-09-09 Than McIntosh <thanm@google.com>
* go-sha1.cc: New file. * go-sha1.cc: New file.
......
...@@ -80,15 +80,6 @@ go_field_alignment (tree t) ...@@ -80,15 +80,6 @@ go_field_alignment (tree t)
return v / BITS_PER_UNIT; 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 /* This is called by the Go frontend proper if the unsafe package was
imported. When that happens we can not do type-based alias imported. When that happens we can not do type-based alias
analysis. */ analysis. */
......
...@@ -63,8 +63,6 @@ extern const char *go_localize_identifier (const char*); ...@@ -63,8 +63,6 @@ extern const char *go_localize_identifier (const char*);
extern unsigned int go_field_alignment (tree); 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_imported_unsafe (void);
extern void go_write_export_data (const char *, unsigned int); extern void go_write_export_data (const char *, unsigned int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment