benchs/lang: reactivate ugly loop
authorJean Privat <jean@pryen.org>
Fri, 26 Apr 2013 03:01:02 +0000 (23:01 -0400)
committerJean Privat <jean@pryen.org>
Mon, 15 Jul 2013 18:21:24 +0000 (14:21 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/languages/bench_base.nit

index ce9e3f1..69590af 100644 (file)
@@ -167,8 +167,8 @@ class Generator
                if not dry then test = testjava(interfaces)
                write "\t\t\tif({test} && x>=0) \{"
                if check then write "\t\t\t\tx = x + 1;"
-               #write "\t\t\t\} else \{ x = x - 1 + i - j; a = b;\}"
-               write "\t\t\t\} else \{ x = x - 1; a = b;\}"
+               write "\t\t\t\} else \{ x = x - 1 + i - j; a = b;\}"
+               #write "\t\t\t\} else \{ x = x - 1; a = b;\}"
                write "\t\t}"
                write "\t\}"
                write "\tSystem.out.println(x);"