view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 18580:b76489300efa

generalized assertion regarding code that can/cannot execute in replay compilation context
author Doug Simon <doug.simon@oracle.com>
date Sun, 30 Nov 2014 21:14:13 +0100
parents ff3136ecb5a7
children
line wrap: on
line source

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

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