view graal/com.oracle.truffle.sl.test/tests/ControlFlow.sl @ 18505:3356ea593672

Add missing null check in readConstantArrayElement
author Andreas Woess <andreas.woess@jku.at>
date Wed, 26 Nov 2014 00:53:50 +0100
parents ff3136ecb5a7
children
line wrap: on
line source

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

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