view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 15877:f55153a2ca55

Stop propagating probability above loop header.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 13 May 2014 03:57:06 +0200
parents ff3136ecb5a7
children
line wrap: on
line source

function foo() {}
function bar() {}

function main() {  
  foo();
  if (1 < 2) {
    bar();
    return 1;
  }
}