view graal/com.oracle.truffle.sl.test/tests_instrumentation/Instrumentation_assnCount.sl @ 16720:ad19df13df14

mx: add support for Java agent libraries that use the Boot-Class-Path manifest attribute to ensure that are loaded by the boot class path loader
author Doug Simon <doug.simon@oracle.com>
date Thu, 07 Aug 2014 17:32:17 +0200
parents 2a5ec181dad4
children 7661cc464239
line wrap: on
line source

function loop(count) {  
  i = 0;  
  while (i < count) {  
    i = i + 1;  
  }  
  return i;  
}

function main() {
  count = loop(100);
  println(count);
}