view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 18133:5c1bd485c54b

Truffle: fix deoptimization of int[] with double/long values
author Andreas Woess <andreas.woess@jku.at>
date Tue, 21 Oct 2014 02:31:32 +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");
}