use of org.graalvm.compiler.truffle.test.nodes.TwoMergesExplodedLoopTestNode in project graal by oracle.
the class SimplePartialEvaluationTest method twoMergesLoopExplosion.
@Test
public void twoMergesLoopExplosion() {
FrameDescriptor fd = new FrameDescriptor();
AbstractTestNode result = new AddTestNode(new TwoMergesExplodedLoopTestNode(5), new ConstantTestNode(37));
assertPartialEvalEquals("constant42", new RootTestNode(fd, "twoMergesLoopExplosion", result));
}
Aggregations