[penberg/jato] b566a7: x86: Implement the f2l bytecode

2009-08-22 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: b566a79dc0759d5f7136000ca3aaf20b733cfc71 http://github.com/penberg/jato/commit/b566a79dc0759d5f7136000ca3aaf20b733cfc71 Author: Pekka Enberg Date: 2009-08-22 (Sat, 22 Aug 2009) Changed paths: M arch/x86/insn-select

[penberg/jato] 65d700: lib: Use realloc() for stack_push()

2009-08-22 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: 65d700d45c3c5050786579575b677588665aa436 http://github.com/penberg/jato/commit/65d700d45c3c5050786579575b677588665aa436 Author: Pekka Enberg Date: 2009-08-22 (Sat, 22 Aug 2009) Changed paths: M Makefile M include

[PATCH] regression: add MirandaInterfaceMethodTest

2009-08-22 Thread Vegard Nossum
NOTE: The test-case was actually derived by Tomek Grabiec. Signed-off-by: Vegard Nossum --- Makefile |1 + regression/jvm/MirandaInterfaceMethodTest.java | 29 regression/run-suite.sh|1 + 3 files ch

[PATCH] vm: add unimplemented interface methods to abstract classes

2009-08-22 Thread Vegard Nossum
We use the term "miranda method" here as a method which is omitted by the compiler (because the method is declared in an interface and the implementing class is abstract), and which needs to be inserted by the VM. Reported-by: Tomek Grabiec Signed-off-by: Vegard Nossum --- include/vm/class.h |

[PATCH] vm: remove extraneous semicolon

2009-08-22 Thread Vegard Nossum
Signed-off-by: Vegard Nossum --- vm/object.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vm/object.c b/vm/object.c index 1baa966..36e60c1 100644 --- a/vm/object.c +++ b/vm/object.c @@ -373,7 +373,7 @@ bool vm_object_is_instance_of(const struct vm_object *obj,

[PATCH] vm: improve itable tracing and switch to trace_printf()

2009-08-22 Thread Vegard Nossum
Signed-off-by: Vegard Nossum --- vm/itable.c | 28 1 files changed, 16 insertions(+), 12 deletions(-) diff --git a/vm/itable.c b/vm/itable.c index a544c9b..83ede3e 100644 --- a/vm/itable.c +++ b/vm/itable.c @@ -35,6 +35,7 @@ #include "vm/object.h" #include "vm/it

[penberg/jato] fcfd3c: vm: remove extraneous semicolon

2009-08-22 Thread noreply
Branch: refs/heads/master Home: http://github.com/penberg/jato Commit: fcfd3c850e3efc220eccdc2577317fdb118b http://github.com/penberg/jato/commit/fcfd3c850e3efc220eccdc2577317fdb118b Author: Vegard Nossum Date: 2009-08-22 (Sat, 22 Aug 2009) Changed paths: M vm/object.c Log Me

Re: [PATCH] vm: add unimplemented interface methods to abstract classes

2009-08-22 Thread Pekka Enberg
Hi Vegard, (I'm cc'ing Eduard on the args map question.) On Sat, 2009-08-22 at 23:39 +0200, Vegard Nossum wrote: > @@ -371,7 +371,56 @@ int vm_class_link(struct vm_class *vmc, const > struct cafebabe_class *class) > } > } > > - vmc->methods = malloc(sizeof(*vmc->methods)

Re: [PATCH] vm: remove extraneous semicolon

2009-08-22 Thread Pekka Enberg
On Sat, 2009-08-22 at 23:39 +0200, Vegard Nossum wrote: > Signed-off-by: Vegard Nossum > --- > vm/object.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/vm/object.c b/vm/object.c > index 1baa966..36e60c1 100644 > --- a/vm/object.c > +++ b/vm/object.c > @@ -373,7

Re: [PATCH] regression: add MirandaInterfaceMethodTest

2009-08-22 Thread Pekka Enberg
Vegard Nossum wrote: > @@ -0,0 +1,29 @@ > +package jvm; > + > +/** > + * @author Tomek Grabiec > + * @author Vegard Nossum > + */ > +public class MirandaInterfaceMethodTest extends TestCase { AFAICT, the name "miranda" is for methods inserted by javac to work around bugs in old VMs. What we're