summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2012-12-28 18:10:26 +0900
committerYukihiro Matz Matsumoto <[email protected]>2012-12-28 18:10:26 +0900
commitc836187cf27c058b9e8fd98814e9fc26f05640a5 (patch)
treeb5b93c80daf7bfecdd006b7cd4d912dc1b9428ca /src
parentd7b762ae2bf6e9d931cbc79afd0a000074fc886a (diff)
downloadmruby-c836187cf27c058b9e8fd98814e9fc26f05640a5.tar.gz
mruby-c836187cf27c058b9e8fd98814e9fc26f05640a5.zip
minor cosmetic change after #676
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 60acd4d7c..ffa13d647 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -1205,9 +1205,9 @@ codegen(codegen_scope *s, node *tree, int val)
pop();
genop(s, MKOP_ABC(OP_SEND, cursp(), new_msym(s, mrb_intern(s->mrb, "===")), 1));
}
- else
- pop();
-
+ else {
+ pop();
+ }
tmp = new_label(s);
genop(s, MKOP_AsBx(OP_JMPIF, cursp(), pos2));
pos2 = tmp;