diff options
author | Ian Lance Taylor <iant@google.com> | 2012-01-11 04:48:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-01-11 04:48:22 +0000 |
commit | ef1ed13d9ab2e2c9dacdb5ae06afb86ca6ad7193 (patch) | |
tree | 5bbea3053021715319cc56c179b13eb1af9ea5af /gcc/go/go-c.h | |
parent | 5313d330b2a6596686c2b5e04431c167ef4544be (diff) | |
download | gcc-ef1ed13d9ab2e2c9dacdb5ae06afb86ca6ad7193.zip gcc-ef1ed13d9ab2e2c9dacdb5ae06afb86ca6ad7193.tar.gz gcc-ef1ed13d9ab2e2c9dacdb5ae06afb86ca6ad7193.tar.bz2 |
compiler: Use backend interface for type sizes and alignments.
* go-gcc.cc (Gcc_backend::type_size): New function.
(Gcc_backend::type_alignment): New function.
(Gcc_backend::type_field_alignment): New function.
(Gcc_backend::type_field_offset): New function.
* go-backend.c (go_type_alignment): Remove.
* go-c.h (go_type_alignment): Don't declare.
From-SVN: r183089
Diffstat (limited to 'gcc/go/go-c.h')
-rw-r--r-- | gcc/go/go-c.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/go/go-c.h b/gcc/go/go-c.h index 5e65dea..0bfed85 100644 --- a/gcc/go/go-c.h +++ b/gcc/go/go-c.h @@ -1,5 +1,5 @@ /* go-c.h -- Header file for go frontend gcc C interface. - Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of GCC. @@ -59,8 +59,6 @@ extern void go_preserve_from_gc (tree); extern const char *go_localize_identifier (const char*); -extern unsigned int go_type_alignment (tree); - extern unsigned int go_field_alignment (tree); extern void go_trampoline_info (unsigned int *size, unsigned int *alignment); |