Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/LoopPrint.sl @ 18792:7bb1abca2c0d
avoid re-adding "this" during PhiNode simplification
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Wed, 07 Jan 2015 13:40:01 +0100 |
parents | afd6fa5e8229 |
children |
line wrap: on
line source
function loop(n) { i = 0; while (i < n) { i = i + 1; } return i; } function main() { i = 0; while (i < 20) { loop(1000); i = i + 1; } println(loop(1000)); }