Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/Arithmetic.sl @ 13858:6b91134526a7
Truffle: disable (most) optimistic optimizations (profile is not reliable in hosted mode)
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Mon, 03 Feb 2014 15:49:58 +0100 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
function main() { println(3 + 4 - 2); println(3 - 4 + 2); println(3 - 4 - 2); println(3 * 4 + 2); println(3 + 4 * 2); println(3 + (4 - 2)); println(3 - (4 + 2)); println(3 - (4 - 2)); println(3 * (4 + 2)); println(3 + (4 * 2)); }