Mercurial > hg > truffle
view graal/com.oracle.graal.truffle.test/sl/TestTruffleBoundary01.sl @ 19775:905afef74a2e
make sure that all split successors guard for a condition before optimizing in OptimizeGuardAnchorsPhase
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Wed, 11 Mar 2015 18:16:25 +0100 |
parents | 0e7455cb3004 |
children |
line wrap: on
line source
/* * This test verifies that CallTargets cannot exceed the TruffleInliningMaxCallerSize limit when inlining. */ function test1() { testTruffleBoundary01(); } function main() { callUntilOptimized(test1); assertTrue(isOptimized(test1), "inlinableFunction must be compiled properly"); }