Branch: refs/heads/master
Home: http://github.com/penberg/jato
Commit: 084701004104537e9c7c5a229a69ea7f83bb3ed2
http://github.com/penberg/jato/commit/084701004104537e9c7c5a229a69ea7f83bb3ed2
Author: Vegard Nossum
Date: 2009-08-23 (Sun, 23 Aug 2009)
Changed paths:
A include/lib/array.h
Example:
$ jato -Xtrace:invoke -Xtrace:method 'Vector\.add' jvm/PrintTest
[main] trace invoke: java/util/Vector.add(Ljava/lang/Object;)Z
[main] trace invoke: java/util/Vector.addElement(Ljava/lang/Object;)V
[main] trace invoke: java/util/Vector.add(Ljava/lang/Object;)Z
[main] trace invok
Signed-off-by: Tomek Grabiec
---
jit/compiler.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/jit/compiler.c b/jit/compiler.c
index 645e9b2..1fa321a 100644
--- a/jit/compiler.c
+++ b/jit/compiler.c
@@ -66,7 +66,7 @@ int compile(struct compilation_unit *cu)
err
Signed-off-by: Vegard Nossum
---
Makefile |1 +
include/lib/array.h|4 +++
lib/array.c| 50
test/arch-x86/Makefile |1 +
4 files changed, 56 insertions(+), 0 deletions(-)
create mode 100644 lib/array.c
Signed-off-by: Vegard Nossum
---
include/lib/array.h | 84 +++
1 files changed, 84 insertions(+), 0 deletions(-)
create mode 100644 include/lib/array.h
diff --git a/include/lib/array.h b/include/lib/array.h
new file mode 100644
index 000..3b
This fixes the lighthouse ticket:
http://jato.lighthouseapp.com/projects/29055-jato/tickets/4
Actually, the ticket describes a slightly different scenario. The scenario
from the ticket:
interface A {
void foo();
}
interface B {
void foo();
Signed-off-by: Vegard Nossum
---
vm/class.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/vm/class.c b/vm/class.c
index abd3a5b..aced89b 100644
--- a/vm/class.c
+++ b/vm/class.c
@@ -204,6 +204,22 @@ static int insert_interface_method(struct vm_cla
Reported-by: Tomek Grabiec
Signed-off-by: Vegard Nossum
---
include/vm/class.h |1 +
include/vm/method.h |3 ++
vm/class.c | 85 +-
vm/method.c | 19 +++
4 files changed, 99 insertions(+), 9 deletions(-)
diff
Signed-off-by: Vegard Nossum
---
include/lib/array.h |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/lib/array.h b/include/lib/array.h
index 3b43db5..cff85c1 100644
--- a/include/lib/array.h
+++ b/include/lib/array.h
@@ -81,4 +81,10 @@ static inline int array
NOTE: The test-case was actually derived by Tomek Grabiec.
Signed-off-by: Vegard Nossum
---
Makefile |1 +
.../jvm/VirtualAbstractInterfaceMethodTest.java| 29
regression/run-suite.sh|1 +
3
On Sun, 2009-08-23 at 09:06 +0200, Vegard Nossum wrote:
> I did write something about this in the changelog of one of the other
> patches. It is correct that this is not _exactly_ what a miranda
> method is, but it would have been called a miranda method if it was
> generated by javac. But we're do
2009/8/23 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
12 matches
Mail list logo