# HG changeset patch # User Gilles Duboscq # Date 1305558725 -7200 # Node ID 9836845a75e690a7d8091198cd7884a9bb408901 # Parent 48496ba030c5bb6f977ecd09a404af5a2892c566# Parent 07aa0a31fffb3d3a7344932e0d12a15f95912173 Merge diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalGraphviz/src/com/oracle/graal/graph/vis/GraphvizPrinter.java --- a/graal/GraalGraphviz/src/com/oracle/graal/graph/vis/GraphvizPrinter.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalGraphviz/src/com/oracle/graal/graph/vis/GraphvizPrinter.java Mon May 16 17:12:05 2011 +0200 @@ -25,7 +25,6 @@ import java.awt.Color; import java.io.OutputStream; import java.io.PrintStream; -import java.util.HashMap; import java.util.HashSet; import com.oracle.graal.graph.Graph; diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/.classpath --- a/graal/GraalRuntime/.classpath Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/.classpath Mon May 16 17:12:05 2011 +0200 @@ -3,9 +3,9 @@ - + diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodResolved.java --- a/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodResolved.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodResolved.java Mon May 16 17:12:05 2011 +0200 @@ -152,7 +152,6 @@ return CiUtil.toStackTraceElement(this, bci); } - @Override public RiMethod uniqueConcreteMethod() { return compiler.getVMEntries().RiMethod_uniqueConcreteMethod(vmId); } diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodUnresolved.java --- a/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodUnresolved.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotMethodUnresolved.java Mon May 16 17:12:05 2011 +0200 @@ -79,11 +79,6 @@ } @Override - public RiMethod uniqueConcreteMethod() { - throw unresolved("uniqueConcreteMethod()"); - } - - @Override public int accessFlags() { throw unresolved("accessFlags"); } diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypePrimitive.java --- a/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypePrimitive.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypePrimitive.java Mon May 16 17:12:05 2011 +0200 @@ -150,4 +150,9 @@ return this; } + @Override + public RiMethod uniqueConcreteMethod(RiMethod method) { + return null; + } + } diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeResolvedImpl.java --- a/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeResolvedImpl.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeResolvedImpl.java Mon May 16 17:12:05 2011 +0200 @@ -222,4 +222,10 @@ return result; } + @Override + public RiMethod uniqueConcreteMethod(RiMethod method) { + assert method instanceof HotSpotMethodResolved; + return ((HotSpotMethodResolved) method).uniqueConcreteMethod(); + } + } diff -r 07aa0a31fffb -r 9836845a75e6 graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeUnresolved.java --- a/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeUnresolved.java Mon May 16 14:29:12 2011 +0200 +++ b/graal/GraalRuntime/src/com/oracle/graal/runtime/HotSpotTypeUnresolved.java Mon May 16 17:12:05 2011 +0200 @@ -201,4 +201,9 @@ return CiKind.Object; } + @Override + public RiMethod uniqueConcreteMethod(RiMethod method) { + throw unresolved("uniqueConcreteMethod"); + } + } diff -r 07aa0a31fffb -r 9836845a75e6 runtests.sh --- a/runtests.sh Mon May 16 14:29:12 2011 +0200 +++ b/runtests.sh Mon May 16 17:12:05 2011 +0200 @@ -11,4 +11,4 @@ echo "GRAAL is not defined. It must point to a maxine repository directory." exit 1; fi -${JDK7}/bin/java -client -d64 -graal -ea -esa -Xcomp -XX:+PrintCompilation -XX:CompileOnly=jtt -Xbootclasspath/p:"${MAXINE}/VM/bin" -Xbootclasspath/p:"${MAXINE}/Base/bin" $1 test.com.sun.max.vm.compiler.JavaTester -verbose=1 -gen-run-scheme=false -run-scheme-package=all ${MAXINE}/VM/test/jtt/bytecode ${MAXINE}/VM/test/jtt/except ${MAXINE}/VM/test/jtt/hotpath ${MAXINE}/VM/test/jtt/jdk ${MAXINE}/VM/test/jtt/lang ${MAXINE}/VM/test/jtt/loop ${MAXINE}/VM/test/jtt/micro ${MAXINE}/VM/test/jtt/optimize ${MAXINE}/VM/test/jtt/reflect ${MAXINE}/VM/test/jtt/threads +${JDK7}/bin/java -client -d64 -graal -ea -esa -Xcomp -XX:+PrintCompilation -XX:CompileOnly=jtt -Xbootclasspath/p:"${MAXINE}/VM/bin" -Xbootclasspath/p:"${MAXINE}/com.oracle.max.base/bin" $1 test.com.sun.max.vm.compiler.JavaTester -verbose=1 -gen-run-scheme=false -run-scheme-package=all ${MAXINE}/VM/test/jtt/bytecode ${MAXINE}/VM/test/jtt/except ${MAXINE}/VM/test/jtt/hotpath ${MAXINE}/VM/test/jtt/jdk ${MAXINE}/VM/test/jtt/lang ${MAXINE}/VM/test/jtt/loop ${MAXINE}/VM/test/jtt/micro ${MAXINE}/VM/test/jtt/optimize ${MAXINE}/VM/test/jtt/reflect ${MAXINE}/VM/test/jtt/threads