view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 21373:e5df47e0efb8

Bugfix: ForeignCallNode needs bci
author Christian Wimmer <christian.wimmer@oracle.com>
date Thu, 14 May 2015 15:57:55 -0700
parents ff3136ecb5a7
children
line wrap: on
line source

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

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