Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-18 Thread Vegard Nossum
2009/8/17 Tomek Grabiec : > 2009/8/17 Vegard Nossum : >> BTW, which flags are those? >> > > My patch sets flags the same way as jamvm (and hotspot) does: > - for primitive types: ACC_PUBLIC + ACC_ABSTRACT + ACC_FINAL > - for array types: ACC_ABSTRACT + ACC_FINAL + (flags for element class > - ACC_I

Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Tomek Grabiec
2009/8/17 Vegard Nossum : > 2009/8/17 Pekka Enberg : >> On Mon, 2009-08-17 at 19:36 +0200, Tomek Grabiec wrote: >>> 2009/8/17 Pekka Enberg : >>> > On Mon, 2009-08-17 at 15:38 +0200, Tomek Grabiec wrote: >>> >> We need to assign access flags for arrays and primitive classes which >>> >> have no corr

Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Vegard Nossum
2009/8/17 Pekka Enberg : > On Mon, 2009-08-17 at 19:36 +0200, Tomek Grabiec wrote: >> 2009/8/17 Pekka Enberg : >> > On Mon, 2009-08-17 at 15:38 +0200, Tomek Grabiec wrote: >> >> We need to assign access flags for arrays and primitive classes which >> >> have no corresponding cafebabe_class. Therefo

Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Pekka Enberg
On Mon, 2009-08-17 at 19:36 +0200, Tomek Grabiec wrote: > 2009/8/17 Pekka Enberg : > > On Mon, 2009-08-17 at 15:38 +0200, Tomek Grabiec wrote: > >> We need to assign access flags for arrays and primitive classes which > >> have no corresponding cafebabe_class. Therefore ->access_flags field is > >>

Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Tomek Grabiec
2009/8/17 Pekka Enberg : > On Mon, 2009-08-17 at 15:38 +0200, Tomek Grabiec wrote: >> We need to assign access flags for arrays and primitive classes which >> have no corresponding cafebabe_class. Therefore ->access_flags field is >> introduced for struct vm_class. >> >> Signed-off-by: Tomek Grabie

Re: [PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Pekka Enberg
On Mon, 2009-08-17 at 15:38 +0200, Tomek Grabiec wrote: > We need to assign access flags for arrays and primitive classes which > have no corresponding cafebabe_class. Therefore ->access_flags field is > introduced for struct vm_class. > > Signed-off-by: Tomek Grabiec I'd rather we didn't make s

[PATCH] vm: introduce per vm_class access flags.

2009-08-17 Thread Tomek Grabiec
We need to assign access flags for arrays and primitive classes which have no corresponding cafebabe_class. Therefore ->access_flags field is introduced for struct vm_class. Signed-off-by: Tomek Grabiec --- Makefile |1 + include/vm/class.h| 17 + r