view graal/com.oracle.truffle.sl.test/tests_instrumentation/Instrumentation_assnCount.sl @ 16962:f0c3de09f12a

Merge with e01b0b9a5f886f8810ba09668632acd675cccf76
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Tue, 26 Aug 2014 19:57:25 -0700
parents 7661cc464239
children
line wrap: on
line source

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

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