view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 17174:2cb007e99ed0

added support for getting the flat time from a DebugTimer
author Doug Simon <doug.simon@oracle.com>
date Mon, 22 Sep 2014 14:26:49 +0200
parents ff3136ecb5a7
children
line wrap: on
line source

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

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