view graal/com.oracle.truffle.sl.test/tests_instrumentation/Instrumentation_assnCount.sl @ 21649:1c76a5662753

Merge with 645f170013a451083414ff695412c465e9d2ebf0
author Michael Van De Vanter <michael.van.de.vanter@oracle.com>
date Mon, 01 Jun 2015 17:47:28 -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);
}