Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/CalcShell.input @ 18167:2bf5ea10eea7
sharpened return types for HotSpot specific Graal API implementations
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sat, 25 Oct 2014 13:36:07 +0200 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
i 80 c return cur + i; r c if (i <= 2) { return 1; } else { return prev + cur; } r i 100 r c if (i == 0) { return 1; } else { return cur * i; } r x