Mercurial > hg > graal-compiler
view graal/com.oracle.truffle.sl.test/tests/DefineFunction.sl @ 18505:3356ea593672
Add missing null check in readConstantArrayElement
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 26 Nov 2014 00:53:50 +0100 |
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(); }