view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 16905:a85d43d86ea1

indirect through NodeClass when looking up the HSAIL lowering strategy map
author Doug Simon <doug.simon@oracle.com>
date Sat, 23 Aug 2014 16:55:56 +0200
parents 64c77f0577bb
children
line wrap: on
line source

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