changeset 4189:6930f1550e73

Fixed warning.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 03 Jan 2012 15:15:53 +0100
parents ac5c2bdfcca2
children bfae65ae6c1e
files graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/alloc/util/MoveResolver.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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