Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/CalcShell.input @ 20861:ce38ee1b67ab
fix check for registering multiple InvocationPlugins for one method
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 09 Apr 2015 09:17:04 +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