From e4c656a97f3088d2496d8a73062f4437d6ce35b9 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 6 Nov 2023 14:48:18 +0100 Subject: [PATCH] Add getter for FloatingWordCastNode input --- .../svm/core/graal/nodes/FloatingWordCastNode.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/nodes/FloatingWordCastNode.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/nodes/FloatingWordCastNode.java index 5518effdb36b..8a095b80f4c1 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/nodes/FloatingWordCastNode.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/graal/nodes/FloatingWordCastNode.java @@ -27,17 +27,16 @@ import jdk.graal.compiler.core.common.type.Stamp; import jdk.graal.compiler.graph.Node; import jdk.graal.compiler.graph.NodeClass; -import jdk.graal.compiler.nodes.spi.Canonicalizable; -import jdk.graal.compiler.nodes.spi.CanonicalizerTool; import jdk.graal.compiler.nodeinfo.NodeCycles; import jdk.graal.compiler.nodeinfo.NodeInfo; import jdk.graal.compiler.nodeinfo.NodeSize; import jdk.graal.compiler.nodes.NodeView; import jdk.graal.compiler.nodes.ValueNode; import jdk.graal.compiler.nodes.calc.FloatingNode; +import jdk.graal.compiler.nodes.spi.Canonicalizable; +import jdk.graal.compiler.nodes.spi.CanonicalizerTool; import jdk.graal.compiler.nodes.spi.LIRLowerable; import jdk.graal.compiler.nodes.spi.NodeLIRBuilderTool; - import jdk.vm.ci.meta.AllocatableValue; import jdk.vm.ci.meta.Value; import jdk.vm.ci.meta.ValueKind; @@ -58,6 +57,10 @@ public FloatingWordCastNode(Stamp stamp, ValueNode input) { this.input = input; } + public ValueNode getInput() { + return input; + } + @Override public Node canonical(CanonicalizerTool tool) { if (hasNoUsages()) {