[feat] Change FixedArrayNode to FloatingNode
@@ -30,7 +30,7 @@ import org.graalvm.compiler.graph.NodeClass;
import org.graalvm.compiler.lir.Variable;
import org.graalvm.compiler.nodeinfo.NodeInfo;
import org.graalvm.compiler.nodes.ConstantNode;
-import org.graalvm.compiler.nodes.FixedNode;
+import org.graalvm.compiler.nodes.calc.FloatingNode;
import org.graalvm.compiler.nodes.spi.LIRLowerable;
import org.graalvm.compiler.nodes.spi.NodeLIRBuilderTool;
@@ -43,7 +43,7 @@ import uk.ac.manchester.tornado.drivers.opencl.graal.lir.OCLKind;
import uk.ac.manchester.tornado.drivers.opencl.graal.lir.OCLLIRStmt;
@NodeInfo
-public class FixedArrayNode extends FixedNode implements LIRLowerable {
+public class FixedArrayNode extends FloatingNode implements LIRLowerable {
public static final NodeClass<FixedArrayNode> TYPE = NodeClass.create(FixedArrayNode.class);
@@ -68,14 +68,6 @@ public class FixedArrayNode extends FixedNode implements LIRLowerable {
return memoryRegister;
}
- public void setMemoryLocation(OCLMemoryBase memoryRegister) {
- this.memoryRegister = memoryRegister;
- }
-
- public ResolvedJavaType getElementType() {
- return elementType;
- }
-
public ConstantNode getLength() {
return length;
}
@@ -96,5 +88,4 @@ public class FixedArrayNode extends FixedNode implements LIRLowerable {
gen.getLIRGeneratorTool().append(expr);
gen.setResult(this, variable);
}
-
}
