changeset in /hg/icedtea6: 2008-08-13 Gary Benson <gbenson at red...

Gary Benson gbenson at redhat.com
Wed Aug 13 00:53:46 PDT 2008


changeset c7c621c16a15 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c7c621c16a15
description:
	2008-08-13  Gary Benson  <gbenson at redhat.com>

		PR icedtea/184:
		* ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp
		(call_stub): Add support for returning floats and doubles.

diffstat:

2 files changed, 12 insertions(+)
ChangeLog                                            |    6 ++++++
ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp |    6 ++++++

diffs (29 lines):

diff -r ce522c9080e5 -r c7c621c16a15 ChangeLog
--- a/ChangeLog	Tue Aug 12 20:25:43 2008 +0200
+++ b/ChangeLog	Wed Aug 13 08:53:38 2008 +0100
@@ -1,3 +1,9 @@ 2008-08-12  Matthias Klose  <doko at ubuntu
+2008-08-13  Gary Benson  <gbenson at redhat.com>
+
+	PR icedtea/184:
+	* ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp
+	(call_stub): Add support for returning floats and doubles.
+
 2008-08-12  Matthias Klose  <doko at ubuntu.com>
 
 	* patches/icedtea-arch.patch: Add support for mipsel-linux.
diff -r ce522c9080e5 -r c7c621c16a15 ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp
--- a/ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp	Tue Aug 12 20:25:43 2008 +0200
+++ b/ports/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp	Wed Aug 13 08:53:38 2008 +0100
@@ -77,6 +77,12 @@ class StubGenerator: public StubCodeGene
       case T_LONG:
         *(jlong *) result = *(jlong *) stack->sp();
         break;
+      case T_FLOAT:
+        *(jfloat *) result = *(jfloat *) stack->sp();
+        break;
+      case T_DOUBLE:
+        *(jdouble *) result = *(jdouble *) stack->sp();
+        break;
       case T_OBJECT:
         *(oop *) result = *(oop *) stack->sp();
         break;



More information about the distro-pkg-dev mailing list