Re: alignment on sparc

Date view Thread view Subject view Author view

From: Tim Wilkinson (tim@transvirtual.com)
Date: Fri Feb 12 1999 - 15:27:40 EST


Hmm - okay so Kaffe is screwing up the layout of the structures in some
way I guess - it's assuming the the derived class is somehow 'seperate'
and doing the alignment base on that.

Essentially it assume classes look like:

    data (
        class A's data ( ... )
        class B's data ( ... )
    }

    data (
        class B's data (
            class A's data ( ... )
            ...
        )
    )

Do these diagram's make any sense?

Well anyway, the first is how it's being done and it's wrong - the
second is how it should be done and it's right (I think). I will try to
fix this.

Cheers
Tim

--
  Tim Wilkinson                         Tel:     +1 510 704 1660
  Transvirtual Technologies, Inc.,      Fax:     +1 510 704 1893
  Berkeley, CA, USA.                    Email:   tim@transvirtual.com


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:07 EDT