Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 16674:70f47dbbcabd
Truffle/SourceAttribution: NodeUtil.displaySourceAttribution() outut revised for legibility.
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Fri, 01 Aug 2014 16:28:06 -0700 |
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; }