Skip to content
Snippets Groups Projects
Commit 5940c2b7 authored by Tom Tromey's avatar Tom Tromey Committed by Tom Tromey
Browse files

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
parent 10aef094
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment