diff graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/LoweringPhase.java @ 15001:27c04ee36dcb

input types
author Lukas Stadler <lukas.stadler@oracle.com>
date Mon, 07 Apr 2014 11:32:04 +0200
parents e1a2302a42bc
children 01fdabd19cd5
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/LoweringPhase.java	Mon Apr 07 16:24:49 2014 +0200
+++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/LoweringPhase.java	Mon Apr 07 11:32:04 2014 +0200
@@ -103,7 +103,7 @@
         }
 
         private class DummyGuardHandle extends ValueNode implements GuardedNode {
-            @Input private GuardingNode guard;
+            @Input(InputType.Guard) private GuardingNode guard;
 
             public DummyGuardHandle(GuardingNode guard) {
                 super(StampFactory.forVoid());
@@ -177,7 +177,7 @@
 
     /**
      * Checks that second lowering of a given graph did not introduce any new nodes.
-     * 
+     *
      * @param graph a graph that was just {@linkplain #lower lowered}
      * @throws AssertionError if the check fails
      */
@@ -206,7 +206,7 @@
      * Checks that lowering of a given node did not introduce any new {@link Lowerable} nodes that
      * could be lowered in the current {@link LoweringPhase}. Such nodes must be recursively lowered
      * as part of lowering {@code node}.
-     * 
+     *
      * @param node a node that was just lowered
      * @param preLoweringMark the graph mark before {@code node} was lowered
      * @param unscheduledUsages set of {@code node}'s usages that were unscheduled before it was
@@ -349,7 +349,7 @@
          * the context of a usage that dominates all other usages. The fixed nodes resulting from
          * lowering are attached to the fixed node context of the dominating usage. This ensures the
          * post-lowering graph still has a valid schedule.
-         * 
+         *
          * @param node a {@link Lowerable} node
          */
         private Collection<Node> getUnscheduledUsages(Node node) {