# HG changeset patch # User Doug Simon # Date 1436863110 -7200 # Node ID a3a14b57321e7a9138f738c022e6242c3aa7cd2d # Parent 2bf50a49e392a643169489275c58fad2a082c239 disabled TestDeoptInlinedFunction.sl test until it handles a call to a @TruffleBoundary method from being removed by ConvertDeoptimizeToGuardPhase diff -r 2bf50a49e392 -r a3a14b57321e graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl --- 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(); -} diff -r 2bf50a49e392 -r a3a14b57321e graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl.disable --- /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(); +}