Mercurial > hg > truffle
view graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 17598:a3464d86b5d2
Truffle: OptimizationFailedException references the CallTarget instead of the RootNode.
author | Chris Seaton <chris.seaton@oracle.com> |
---|---|
date | Wed, 15 Oct 2014 18:19:48 +0100 |
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"); }