comparison graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl.disable @ 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 graal/com.oracle.graal.truffle.test/sl/TestDeoptInInlinedFunction.sl@eebb05f2d1e8
children
comparison
equal deleted inserted replaced
22219:2bf50a49e392 22220:a3a14b57321e
1 /*
2 * This tests that simple arithmetic gets inlined.
3 */
4 function add(a, b) {
5 deoptimizeWhenCompiled(a == 50);
6 return a + b;
7 }
8
9
10 function test() {
11 i = 0;
12 while (i < 100) {
13 i = add(i, 1);
14 }
15 return i;
16 }
17
18 function main() {
19 waitForOptimization(callUntilOptimized(test, 1 == 2));
20 test();
21 }