use of org.graalvm.compiler.nodes.calc.UnpackEndianHalfNode in project graal by oracle.
the class UnsafeEATest method postEACanonicalizeGraph.
@Override
protected void postEACanonicalizeGraph() {
// Simplify any UnpackEndianHalfNode so we end up with constants.
Graph.Mark mark = graph.getMark();
for (UnpackEndianHalfNode node : graph.getNodes().filter(UnpackEndianHalfNode.class)) {
node.lower(getTarget().arch.getByteOrder());
}
new CanonicalizerPhase().applyIncremental(graph, context, mark);
}
Aggregations