Mercurial > hg > truffle
view graal/com.oracle.max.graal.examples/runexample_c1.sh @ 3227:8793d44991fd
Added Verify option to be able to diable graph verification, ideal graph printing now also print string value for colors, removed redundant DCE/Canon phases
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Wed, 20 Jul 2011 18:49:19 +0200 |
parents | 3d66094eeda1 |
children |
line wrap: on
line source
#!/bin/bash if [ -z "${JDK7}" ]; then echo "JDK7 is not defined." exit 1; fi if [ -z "${MAXINE}" ]; then echo "MAXINE is not defined. It must point to a maxine repository directory." exit 1; fi if [ -z "${GRAAL}" ]; then echo "GRAAL is not defined. It must point to a maxine repository directory." exit 1; fi if [ -z "${DACAPO}" ]; then echo "DACAPO is not defined. It must point to a Dacapo benchmark directory." exit 1; fi TEST=$1 shift ant -f create_examples.xml COMMAND="${JDK7G}/bin/java -client -d64 -Xmx1g -esa -XX:+PrintCFGToFile -XX:+PrintCompilation -Xcomp -XX:CompileOnly=examples -XX:CompileCommand=quiet -XX:CompileCommand=exclude,*,<init> -XX:CompileCommand=exclude,*,run -XX:CompileCommand=exclude,com.oracle.max.graal.examples.Main::main $* -jar examples.jar ${TEST}" # echo $COMMAND $COMMAND