src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/spi/LoweringProvider.java
changeset 52578 7dd81e82d083
parent 50858 2d3e99a72541
child 52910 583fd71c47d6
equal deleted inserted replaced
52577:5b87d3fc1093 52578:7dd81e82d083
    22  */
    22  */
    23 
    23 
    24 
    24 
    25 package org.graalvm.compiler.nodes.spi;
    25 package org.graalvm.compiler.nodes.spi;
    26 
    26 
    27 import org.graalvm.compiler.core.common.spi.ArrayOffsetProvider;
       
    28 import org.graalvm.compiler.graph.Node;
    27 import org.graalvm.compiler.graph.Node;
    29 import org.graalvm.compiler.nodes.ValueNode;
    28 import org.graalvm.compiler.nodes.ValueNode;
    30 import org.graalvm.compiler.nodes.memory.address.AddressNode;
    29 import org.graalvm.compiler.nodes.memory.address.AddressNode;
    31 
    30 
    32 import jdk.vm.ci.meta.JavaKind;
    31 import jdk.vm.ci.meta.JavaKind;
    33 
    32 
    34 /**
    33 /**
    35  * Provides a capability for replacing a higher node with one or more lower level nodes.
    34  * Provides a capability for replacing a higher node with one or more lower level nodes.
    36  */
    35  */
    37 public interface LoweringProvider extends ArrayOffsetProvider {
    36 public interface LoweringProvider {
    38 
    37 
    39     void lower(Node n, LoweringTool tool);
    38     void lower(Node n, LoweringTool tool);
    40 
    39 
    41     /**
    40     /**
    42      * Reconstructs the array index from an address node that was created as a lowering of an
    41      * Reconstructs the array index from an address node that was created as a lowering of an