view graal/com.oracle.truffle.sl.test/tests/Break.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 64c77f0577bb
children
line wrap: on
line source

function main() {  
  i = 0;  
  while (i < 1000) {
    if (i >= 942) {
      break;
    }  
    i = i + 1;  
  }
  return i;  
}