view graal/com.oracle.truffle.sl.test/tests/Loop.sl @ 18580:b76489300efa

generalized assertion regarding code that can/cannot execute in replay compilation context
author Doug Simon <doug.simon@oracle.com>
date Sun, 30 Nov 2014 21:14:13 +0100
parents e34d5cca7496
children
line wrap: on
line source

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