view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 18042:3498d73280c8

Add DataLayout::speculative_trap_data_tag to vmStructs
author Gilles Duboscq <duboscq@ssw.jku.at>
date Thu, 16 Oct 2014 10:50:27 +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");
}