view graal/com.oracle.truffle.sl.test/tests/Loop.sl @ 15064:f675818d9ad0

new getStackTrace and getCurrentFrame functionality in TruffleRuntime
author Lukas Stadler <lukas.stadler@oracle.com>
date Fri, 11 Apr 2014 11:53:11 +0200
parents e34d5cca7496
children
line wrap: on
line source

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