changeset 3114:b9307b923f26

Corrected valueEqual method of IsNonNull.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Tue, 28 Jun 2011 15:54:46 +0200
parents 0dfaf5733c63
children 222f60eb09a7
files graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/IsNonNull.java runfop.sh
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/IsNonNull.java	Tue Jun 28 15:48:05 2011 +0200
+++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/ir/IsNonNull.java	Tue Jun 28 15:54:46 2011 +0200
@@ -83,11 +83,7 @@
 
     @Override
     public boolean valueEqual(Node i) {
-        if (i instanceof IsNonNull) {
-            IsNonNull o = (IsNonNull) i;
-            return object() == o.object();
-        }
-        return false;
+        return i instanceof IsNonNull;
     }
 
     @Override
--- a/runfop.sh	Tue Jun 28 15:48:05 2011 +0200
+++ b/runfop.sh	Tue Jun 28 15:54:46 2011 +0200
@@ -15,4 +15,4 @@
   echo "DACAPO is not defined. It must point to a Dacapo benchmark directory."
   exit 1;
 fi
-${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal $* Harness --preserve -n 5 fop 
+${JDK7}/bin/java -client -d64 -graal -Xms1g -Xmx2g -esa -classpath ${DACAPO}/dacapo-9.12-bach.jar -XX:-GraalBailoutIsFatal $* Harness --preserve -n 10 fop