src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/spi/LoweringProvider.java
changeset 48861 47f19ff9903c
parent 47216 71c04702a3d5
child 50858 2d3e99a72541
equal deleted inserted replaced
48860:5bce1b7e7800 48861:47f19ff9903c
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 package org.graalvm.compiler.nodes.spi;
    23 package org.graalvm.compiler.nodes.spi;
    24 
    24 
       
    25 import org.graalvm.compiler.core.common.spi.ArrayOffsetProvider;
    25 import org.graalvm.compiler.graph.Node;
    26 import org.graalvm.compiler.graph.Node;
    26 import org.graalvm.compiler.nodes.ValueNode;
    27 import org.graalvm.compiler.nodes.ValueNode;
    27 import org.graalvm.compiler.nodes.memory.address.AddressNode;
    28 import org.graalvm.compiler.nodes.memory.address.AddressNode;
    28 
    29 
    29 import jdk.vm.ci.meta.JavaKind;
    30 import jdk.vm.ci.meta.JavaKind;
    30 
    31 
    31 /**
    32 /**
    32  * Provides a capability for replacing a higher node with one or more lower level nodes.
    33  * Provides a capability for replacing a higher node with one or more lower level nodes.
    33  */
    34  */
    34 public interface LoweringProvider {
    35 public interface LoweringProvider extends ArrayOffsetProvider {
    35 
    36 
    36     void lower(Node n, LoweringTool tool);
    37     void lower(Node n, LoweringTool tool);
    37 
    38 
    38     /**
    39     /**
    39      * Reconstructs the array index from an address node that was created as a lowering of an
    40      * Reconstructs the array index from an address node that was created as a lowering of an