summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-03-13 23:44:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-03-13 23:44:10 +0900
commit91f2d47d341b96c7cf1803c332f1e276aee6a8e2 (patch)
treede00890655b69948fc390f8ab0d4198937747580 /src/codegen.c
parent8cc487c4651daffab044aebc600e41324d02e0c9 (diff)
downloadmruby-91f2d47d341b96c7cf1803c332f1e276aee6a8e2.tar.gz
mruby-91f2d47d341b96c7cf1803c332f1e276aee6a8e2.zip
too much optimization
Diffstat (limited to 'src/codegen.c')
-rw-r--r--src/codegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 14e7b6916..35995a913 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -1323,7 +1323,7 @@ codegen(codegen_scope *s, node *tree, int val)
codegen(s, tree->car, VAL);
pop();
- pos = genop_peep(s, MKOP_AsBx(OP_JMPNOT, cursp(), 0), NOVAL);
+ pos = genop(s, MKOP_AsBx(OP_JMPNOT, cursp(), 0));
codegen(s, tree->cdr, val);
dispatch(s, pos);
}
@@ -1335,7 +1335,7 @@ codegen(codegen_scope *s, node *tree, int val)
codegen(s, tree->car, VAL);
pop();
- pos = genop_peep(s, MKOP_AsBx(OP_JMPIF, cursp(), 0), NOVAL);
+ pos = genop(s, MKOP_AsBx(OP_JMPIF, cursp(), 0));
codegen(s, tree->cdr, val);
dispatch(s, pos);
}