quakeforge/tools/qfcc/test/thread-jumps.r
Bill Currie 43b5edf46b Implement jump threading.
First real optimization :)
2012-05-03 17:42:58 +09:00

16 lines
177 B
R

int
foo (int bar)
{
int x, y;
for (x = 0; x < bar; x++) {
for (y = 0; y < bar; y++) {
if (x * y > bar)
break;
else
continue;
}
break;
}
return x * y;
}