Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Sum.sl @ 14055:89bbedfe0ad3
Direct LIR generation: refactoring alternative compilation path in GraalCompilerTest.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Wed, 05 Mar 2014 10:12:35 +0100 |
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; }