[Mono-list] ppc patch

Dietmar Maurer dietmar@ximian.com
21 Jan 2002 16:08:58 +0100


On Mon, 2002-01-21 at 15:25, Radek Doulík wrote:
> 
> Hi all,
> 
> I am attaching next patch for powerpc architecture. It makes trampolines
> generation more complete + initialize array endianess fix. I am looking
> forward to comments on later one.
> 
> Isn't there a faster way to lookup type than decide by class name
> string?

We load several standard types on startup in metadata/leader.c
(mono_init). you can use:

if (class->element_class ==  mono_defaults.boolean_class) {
	...
}

> 
> Couldn't array contain more complex types than [U]Int32,16,64,Char,...?

I assume arrays can contain arbitrary complex value types.


- Dietmar