changeset 1166:5176cf42d236

2008-10-29 Gary Benson <gbenson@redhat.com> PR icedtea/238: * ports/hotspot/src/share/vm/shark/sharkBlock.cpp (SharkBlock::parse): Fix copy-and-paste error in f2l.
author Gary Benson <gbenson@redhat.com>
date Wed, 29 Oct 2008 11:29:20 -0400
parents 27198ae52677
children 119acc15bc38 7175ea5857e4 3331656afb5a
files ChangeLog ports/hotspot/src/share/vm/shark/sharkBlock.cpp
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Oct 28 17:27:18 2008 -0400
+++ b/ChangeLog	Wed Oct 29 11:29:20 2008 -0400
@@ -1,3 +1,9 @@
+2008-10-29  Gary Benson  <gbenson@redhat.com>
+
+	PR icedtea/238:
+	* ports/hotspot/src/share/vm/shark/sharkBlock.cpp
+	(SharkBlock::parse): Fix copy-and-paste error in f2l.
+
 2008-10-27  Deepak Bhole  <dbhole@redhat.com>
 
 	* rt/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: Act on window
--- a/ports/hotspot/src/share/vm/shark/sharkBlock.cpp	Tue Oct 28 17:27:18 2008 -0400
+++ b/ports/hotspot/src/share/vm/shark/sharkBlock.cpp	Wed Oct 29 11:29:20 2008 -0400
@@ -731,7 +731,7 @@
           pop()->jfloat_value(), SharkType::jint_type())));
       break;
     case Bytecodes::_f2l:
-      push(SharkValue::create_jint(
+      push(SharkValue::create_jlong(
         builder()->CreateFPToSI(
           pop()->jfloat_value(), SharkType::jlong_type())));
       break;