changeset 17430:ad62445b46b0

Revert 9010170f942f: better stamps for I2F, I2D, L2F and L2D operations
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 14 Oct 2014 12:12:01 +0200
parents f609dff05ea0
children df548b06c259
files graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/type/IntegerStamp.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/type/IntegerStamp.java	Tue Oct 14 11:38:10 2014 +0200
+++ b/graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/type/IntegerStamp.java	Tue Oct 14 12:12:01 2014 +0200
@@ -752,7 +752,7 @@
         public Stamp foldStamp(Stamp input) {
             IntegerStamp stamp = (IntegerStamp) input;
             assert stamp.getBits() == 32;
-            return StampFactory.forFloat(Kind.Float, stamp.lowerBound(), stamp.upperBound(), true);
+            return StampFactory.forKind(Kind.Float);
         }
     },
 
@@ -767,7 +767,7 @@
         public Stamp foldStamp(Stamp input) {
             IntegerStamp stamp = (IntegerStamp) input;
             assert stamp.getBits() == 64;
-            return StampFactory.forFloat(Kind.Float, stamp.lowerBound(), stamp.upperBound(), true);
+            return StampFactory.forKind(Kind.Float);
         }
     },
 
@@ -782,7 +782,7 @@
         public Stamp foldStamp(Stamp input) {
             IntegerStamp stamp = (IntegerStamp) input;
             assert stamp.getBits() == 32;
-            return StampFactory.forFloat(Kind.Double, stamp.lowerBound(), stamp.upperBound(), true);
+            return StampFactory.forKind(Kind.Double);
         }
     },
 
@@ -797,7 +797,7 @@
         public Stamp foldStamp(Stamp input) {
             IntegerStamp stamp = (IntegerStamp) input;
             assert stamp.getBits() == 64;
-            return StampFactory.forFloat(Kind.Double, stamp.lowerBound(), stamp.upperBound(), true);
+            return StampFactory.forKind(Kind.Double);
         }
     });
 }