nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
634bbd2
)
benchs/lang: reactivate ugly loop
author
Jean Privat
<jean@pryen.org>
Fri, 26 Apr 2013 03:01:02 +0000
(23:01 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/benchmarks/languages/bench_base.nit
b/benchmarks/languages/bench_base.nit
index
ce9e3f1
..
69590af
100644
(file)
--- a/
benchmarks/languages/bench_base.nit
+++ b/
benchmarks/languages/bench_base.nit
@@
-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);"