Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.truffle.test/sl/TestSlowPath01.sl @ 17250:9f001294893d
Truffle: Added test case that compiler intrinsics are not intrinsified if hidden behind a @SlowPath.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Sep 2014 18:37:24 +0200 |
parents | |
children | 04d6bb76cfb3 |
comparison
equal
deleted
inserted
replaced
17249:c13f423bd4ed | 17250:9f001294893d |
---|---|
1 /* | |
2 * This test verifies that CallTargets cannot exceed the TruffleInliningMaxCallerSize limit when inlining. | |
3 */ | |
4 | |
5 function test1() { | |
6 testSlowPath01(); | |
7 } | |
8 function main() { | |
9 waitForOptimization(callUntilOptimized(test1)); | |
10 assertTrue(isOptimized(test1), "inlinableFunction must be compiled properly"); | |
11 } |