view graal/com.oracle.truffle.sl.test/tests_instrumentation/Instrumentation_assnCount.sl @ 17305:8dcb64d6e987

Backed out changeset: 00dd7b3c5aea ("float and double constants cannot be inlined")
author Lukas Stadler <lukas.stadler@oracle.com>
date Wed, 01 Oct 2014 18:07:13 +0200
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);
}