changeset 1002:d7f54e3a7a80

2008-08-08 Gary Benson <gbenson@redhat.com> * patches/icedtea-signed-types.patch: Signedness fix.
author Gary Benson <gbenson@redhat.com>
date Fri, 08 Aug 2008 12:11:15 -0400
parents fa9a766ac398
children a348ff2a45d1
files ChangeLog patches/icedtea-signed-types.patch
diffstat 2 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Aug 08 12:09:27 2008 -0400
+++ b/ChangeLog	Fri Aug 08 12:11:15 2008 -0400
@@ -1,3 +1,7 @@
+2008-08-08  Gary Benson  <gbenson@redhat.com>
+
+	* patches/icedtea-signed-types.patch: Signedness fix.
+
 2008-08-08  Gary Benson  <gbenson@redhat.com>
 
 	* configure.ac (LLVM_CFLAGS): Fix for PRODUCT builds.
--- a/patches/icedtea-signed-types.patch	Fri Aug 08 12:09:27 2008 -0400
+++ b/patches/icedtea-signed-types.patch	Fri Aug 08 12:11:15 2008 -0400
@@ -22,3 +22,15 @@
  #ifdef _WINDOWS
      struct hostent* host = hpi::get_host_by_name((char*)ip);
  #else
+diff -r ca98ea212429 openjdk/hotspot/src/share/vm/ci/ciTypeFlow.cpp
+--- openjdk/hotspot/src/share/vm/ci/ciTypeFlow.cpp	Fri Aug 08 16:06:52 2008 +0100
++++ openjdk/hotspot/src/share/vm/ci/ciTypeFlow.cpp	Fri Aug 08 16:15:45 2008 +0100
+@@ -388,7 +388,7 @@ const ciTypeFlow::StateVector* ciTypeFlo
+   // Set the rest of the locals to bottom.
+   Cell cell = state->next_cell(state->tos());
+   state->set_stack_size(0);
+-  int limit = state->limit_cell();
++  Cell limit = state->limit_cell();
+   for (; cell < limit; cell = state->next_cell(cell)) {
+     state->set_type_at(cell, state->bottom_type());
+   }