resolve.cc (_Jv_PrepareClass): Round size up to alignment required by this object.
authorTom Tromey <tromey@redhat.com>
Wed, 23 Apr 2003 19:09:56 +0000 (19:09 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 23 Apr 2003 19:09:56 +0000 (19:09 +0000)
commit5940c2b7a753530dfa922df00866d7b381ae21ed
tree8f32984591d353ba8c70d6ee87fe3369346b8447
parent10aef094c67c46a028b07b61640bb1b15499d870
resolve.cc (_Jv_PrepareClass): Round size up to alignment required by this object.

* resolve.cc (_Jv_PrepareClass): Round size up to alignment
required by this object.  Search superclasses to find required
alignment.
(get_alignment_from_class): Use alignment of type as it appears
in a struct.
(ALIGNOF): New macro.
(struct aligner): New helper structure.

From-SVN: r66008
libjava/ChangeLog
libjava/resolve.cc