view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 17316:e6e678c3818f

only generate data fields equality method for leaf ValueNumberable nodes; no longer generate Node.isLeafNode()
author Doug Simon <doug.simon@oracle.com>
date Thu, 02 Oct 2014 14:22:16 +0200
parents 9f001294893d
children 04d6bb76cfb3
line wrap: on
line source

/* 
 * This test verifies that CallTargets cannot exceed the TruffleInliningMaxCallerSize limit when inlining.
 */

function test1() {
    testSlowPath01();
}
function main() {
    waitForOptimization(callUntilOptimized(test1));
    assertTrue(isOptimized(test1), "inlinableFunction must be compiled properly");
}