Mercurial > hg > truffle
diff graal/com.oracle.graal.truffle.test/sl/TestTruffleBoundary01.sl @ 18145:0e7455cb3004
Truffle: fixed remaining slow path name fragements.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 21 Oct 2014 20:33:04 +0200 |
parents | graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl@04d6bb76cfb3 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.graal.truffle.test/sl/TestTruffleBoundary01.sl Tue Oct 21 20:33:04 2014 +0200 @@ -0,0 +1,11 @@ +/* + * 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"); +}