Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 16707:01642bca22b8
default implementation of methods in MemoryAccess
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Wed, 06 Aug 2014 15:05:34 +0200 |
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; }