summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-01 01:11:16 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-01 01:11:16 +0900
commitcde3c35666c0617bfcc705aa83b7a679ec83569c (patch)
tree62fdc3697c0b943d9c2be319b2bf8daeb8bee2a8
parentd6bd191cc4ad98488b954b16cb6d9a872106186b (diff)
downloadmruby-cde3c35666c0617bfcc705aa83b7a679ec83569c.tar.gz
mruby-cde3c35666c0617bfcc705aa83b7a679ec83569c.zip
too much peephole optimization
-rw-r--r--src/codegen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c
index cfb52ceed..69ad744fd 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -188,7 +188,6 @@ genop_peep(codegen_scope *s, mrb_code i, int val)
case OP_GETSPECIAL:
case OP_LOADL:
case OP_STRING:
- case OP_GETMCNST:
if (GETARG_B(i) == GETARG_A(i0) && GETARG_A(i0) >= s->nlocals) {
s->iseq[s->pc-1] = MKOP_ABx(c0, GETARG_A(i), GETARG_Bx(i0));
return;