Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.truffle.test/sl/TestInliningMaxCallerSize.sl @ 17257:f735aa886cf6
Truffle: add new inlining tests; adapt tests for context sensitive inlining.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Sep 2014 18:46:40 +0200 |
parents | 004e3f0a0517 |
children | 5c06895b1aec |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.test/sl/TestInliningMaxCallerSize.sl Mon Sep 29 18:46:38 2014 +0200 +++ b/graal/com.oracle.graal.truffle.test/sl/TestInliningMaxCallerSize.sl Mon Sep 29 18:46:40 2014 +0200 @@ -19,8 +19,8 @@ function main() { waitForOptimization(callUntilOptimized(test1)); - assertTrue(isInlined(test1, inlinableFunction), "inlinableFunction is not inlined"); + assertTrue(isInlined(test1, test1, inlinableFunction), "inlinableFunction is not inlined"); waitForOptimization(callUntilOptimized(test2)); - assertFalse(isInlined(test2, notInlinableFunction), "notInlinableFunction is inlined"); + assertFalse(isInlined(test2, test2, notInlinableFunction), "notInlinableFunction is inlined"); }