view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 21654:cd6b1b2189a0

Remove GuardingPiNode and replace with FixedGuardNode + PiNode.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 02 Jun 2015 11:45:43 +0200
parents ff3136ecb5a7
children
line wrap: on
line source

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

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