Mercurial > hg > graal-jvmci-8
changeset 22220:a3a14b57321e
disabled TestDeoptInlinedFunction.sl test until it handles a call to a @TruffleBoundary method from being removed by ConvertDeoptimizeToGuardPhase
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 14 Jul 2015 10:38:30 +0200 |
parents | 2bf50a49e392 |
children | 01343dd934f7 |
files | graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl.disable |
diffstat | 2 files changed, 21 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl Mon Jul 13 17:43:09 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -/* - * This tests that simple arithmetic gets inlined. - */ -function add(a, b) { - deoptimizeWhenCompiled(a == 50); - return a + b; -} - - -function test() { - i = 0; - while (i < 100) { - i = add(i, 1); - } - return i; -} - -function main() { - waitForOptimization(callUntilOptimized(test, 1 == 2)); - test(); -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl.disable Tue Jul 14 10:38:30 2015 +0200 @@ -0,0 +1,21 @@ +/* + * This tests that simple arithmetic gets inlined. + */ +function add(a, b) { + deoptimizeWhenCompiled(a == 50); + return a + b; +} + + +function test() { + i = 0; + while (i < 100) { + i = add(i, 1); + } + return i; +} + +function main() { + waitForOptimization(callUntilOptimized(test, 1 == 2)); + test(); +}