view graal/com.oracle.truffle.sl.test/tests/Break.sl @ 21505:f73ffccf4240

[AMD64] Use shorter encoding of zero-extend opcodes.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 27 May 2015 12:23:22 +0200
parents 64c77f0577bb
children
line wrap: on
line source

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