changeset 3239:7c4b4daac19b

Fixed compiler warnings.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Jul 2011 17:24:11 -0700
parents 0478ad72d214
children be4ca325525a
files graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/util/LoopUtil.java
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java	Wed Jul 27 14:17:00 2011 -0700
+++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/schedule/IdentifyBlocksPhase.java	Wed Jul 27 17:24:11 2011 -0700
@@ -472,9 +472,7 @@
 
         if (i instanceof WriteNode) {
             // TODO(tw): Make sure every ReadNode that is connected to the same memory state is executed before every write node.
-            WriteNode wn = (WriteNode) i;
-            // TODO: Iterate over variablePart.
-//            wn.variableInputs();
+            // WriteNode wn = (WriteNode) i;
         }
 
         FrameState state = null;
--- a/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/util/LoopUtil.java	Wed Jul 27 14:17:00 2011 -0700
+++ b/graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/util/LoopUtil.java	Wed Jul 27 17:24:11 2011 -0700
@@ -789,7 +789,7 @@
                     return (StateSplit) fixedNode;
                 }
             } else {
-                FixedNode current = branches.poll();
+                // FixedNode current = branches.poll();
                 // TODO (gd) find appropriate point : will be useful if a loop exit goes "up" as a result of making a branch dead in the loop body
             }
         }