Quoting JVM spec for ireturn:
Any other values on the operand stack of the current method are discarded.
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/jit/basic-block.h |1 +
include/vm/stack.h|5 +
jit/basic-block.c | 10 ++
jit/exception-bc.c
Branch: refs/heads/master
Home: http://github.com/penberg/jato
Commit: 408f6a074ca4e7973192d7edba3ef588fd82b96d
http://github.com/penberg/jato/commit/408f6a074ca4e7973192d7edba3ef588fd82b96d
Author: Tomek Grabiec tgrab...@gmail.com
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
M
Branch: refs/heads/master
Home: http://github.com/penberg/jato
Commit: aa1c5b223220af6cd63190421d49e600badad0c4
http://github.com/penberg/jato/commit/aa1c5b223220af6cd63190421d49e600badad0c4
Author: Pekka Enberg penb...@cs.helsinki.fi
Date: 2009-08-16 (Sun, 16 Aug 2009)
Changed paths:
Hi all,
I've enabled some more GCC warnings now. There's still few more I'd like
to enable at some point:
-Wstack-protector
-Wstrict-aliasing=3
-Wswitch-default
-Wswitch-enum
-Wpacked
-Wshadow
-Wbad-function-cast
Unfortunately all of them make bugs in Jato code visible so
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/vm/call.h | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/vm/call.h b/include/vm/call.h
index 872579b..eed2b0e 100644
--- a/include/vm/call.h
+++ b/include/vm/call.h
@@ -32,6
We connect it to VMClass.getClassLoader(). Classpath's documentation
says that we should do this, and the duplicate function was introduced
to workaround access control problems.
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
vm/jato.c |1 +
1 files changed, 1 insertions(+), 0
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
vm/jato.c | 50 +-
1 files changed, 41 insertions(+), 9 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c
index 0f13dc6..4d959cd 100644
--- a/vm/jato.c
+++ b/vm/jato.c
@@ -100,24 +100,56 @@
This adds support for delegating class loading to other class loaders.
While resolving a class, we must use the class loader of the class from
which resolving originates.
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/vm/classloader.h |4 ++-
jit/object-bc.c |5 +---
find_class() can be called by on a class which is being loaded by the
same thread which is loading the class. This happens when class
loading is delegated to external class loaders. We should handle this
by returning NULL so that external class loader will actually load the
class.
Signed-off-by:
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
Makefile|1 +
regression/jvm/ClassLoaderTest.java | 43 +++
regression/run-suite.sh |1 +
3 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/lib/hash-map.h |1 +
lib/hash-map.c |5 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/lib/hash-map.h b/include/lib/hash-map.h
index bb5d399..f4826b1 100644
--- a/include/lib/hash-map.h
+++
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/lib/hash-map.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/include/lib/hash-map.h b/include/lib/hash-map.h
index f4826b1..42c243f 100644
--- a/include/lib/hash-map.h
+++ b/include/lib/hash-map.h
@@ -27,6
Signed-off-by: Tomek Grabiec tgrab...@gmail.com
---
include/vm/jni.h |1 +
vm/jni-interface.c |2 +-
vm/jni.c | 72 ++-
3 files changed, 50 insertions(+), 25 deletions(-)
diff --git a/include/vm/jni.h b/include/vm/jni.h
index
13 matches
Mail list logo