# HG changeset patch # User Thomas Wuerthinger # Date 1325600153 -3600 # Node ID 6930f1550e73ae2ff0ddbc6cbd9aba82397e04fd # Parent ac5c2bdfcca2878ebd165021e4152e2b4059919b Fixed warning. diff -r ac5c2bdfcca2 -r 6930f1550e73 graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/alloc/util/MoveResolver.java --- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/alloc/util/MoveResolver.java Tue Jan 03 13:54:11 2012 +0100 +++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/alloc/util/MoveResolver.java Tue Jan 03 15:15:53 2012 +0100 @@ -257,7 +257,7 @@ return count == 0 || (count == 1 && isLocation(from) && asLocation(from).location == to.location); } - private void insertExchange(Location from, Location to) { + private static void insertExchange(Location from, Location to) { trace(3, "mr XCHG %s, %s", from, to); throw Util.unimplemented(); // TODO create XCHG instruction and use it here