view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 17411:6d82c240d83e

use -G:CompileTheWorldClasspath instead of -Xbootclasspath/p when doing Graal CTW on a Graal enabled VM
author Doug Simon <doug.simon@oracle.com>
date Fri, 10 Oct 2014 11:33:48 +0200
parents 04d6bb76cfb3
children
line wrap: on
line source

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

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