view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 18138:4c49f062d136

Truffle: corrected references to @SlowPath (now @TruffleBoundary).
author Danilo Ansaloni <danilo.ansaloni@oracle.com>
date Tue, 21 Oct 2014 11:23:37 +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");
}