Mercurial > hg > truffle
view graal/com.oracle.truffle.sl.test/tests/DefineFunction.sl @ 20050:a1d73b4fd139
Truffle FastPE: recompute loop freqencies once BranchProbabilities have had a chance to canonicalize
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Fri, 27 Mar 2015 15:37:42 +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(); }