Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/DefineFunction.sl @ 21274:d2f314708067
added extra test for arraycopy snippet using StubRoutines::_checkcast_arraycopy
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 08 May 2015 17:51:04 +0200 |
parents | b16ec83edc73 |
children |
line wrap: on
line source
function foo() { println(test(40, 2)); } function main() { defineFunction("function test(a, b) { return a + b; }"); foo(); defineFunction("function test(a, b) { return a - b; }"); foo(); }