view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 15816:e284afdafe7b

Allow using StampFactory.forConstant(Constant, MetaAccessProvider) for primitive constants.
author Roland Schatz <roland.schatz@oracle.com>
date Tue, 20 May 2014 16:47:19 +0200
parents ff3136ecb5a7
children
line wrap: on
line source

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

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