Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 13883:ff3136ecb5a7
SL: small changes
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 05 Feb 2014 03:16:21 -0800 |
parents | e34d5cca7496 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl.test/tests/Sum.sl Wed Feb 05 09:32:30 2014 +0100 +++ b/graal/com.oracle.truffle.sl.test/tests/Sum.sl Wed Feb 05 03:16:21 2014 -0800 @@ -1,8 +1,8 @@ function main() { i = 0; sum = 0; - while (i < 100000) { - sum = sum + 1000000; + while (i <= 10000) { + sum = sum + i; i = i + 1; } return sum;