Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 19520:b08cf18b9f0a
Truffle/Instrumentation: fix bug in Probe
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Thu, 19 Feb 2015 09:42:51 -0800 |
parents | ff3136ecb5a7 |
children |
line wrap: on
line source
function main() { i = 0; sum = 0; while (i <= 10000) { sum = sum + i; i = i + 1; } return sum; }