summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/mruby/ops.h1
-rw-r--r--src/codedump.c4
-rw-r--r--src/vm.c5
3 files changed, 0 insertions, 10 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h
index 9675d6158..b8fc89d43 100644
--- a/include/mruby/ops.h
+++ b/include/mruby/ops.h
@@ -66,7 +66,6 @@ OPCODE(ENTER, W) /* arg setup according to flags (23=m5:o5:r1:m5:k5:
OPCODE(KEY_P, BB) /* R(a) = kdict.key?(Syms(b)) # todo */
OPCODE(KEYEND, Z) /* raise unless kdict.empty? # todo */
OPCODE(KARG, BB) /* R(a) = kdict[Syms(b)]; kdict.delete(Syms(b)) # todo */
-OPCODE(KDICT, B) /* R(a) = kdict # todo */
OPCODE(RETURN, B) /* return R(a) (normal) */
OPCODE(RETURN_BLK, B) /* return R(a) (in-block return) */
OPCODE(BREAK, B) /* break R(a) */
diff --git a/src/codedump.c b/src/codedump.c
index dc0e0e548..842d40bdf 100644
--- a/src/codedump.c
+++ b/src/codedump.c
@@ -285,10 +285,6 @@ codedump(mrb_state *mrb, mrb_irep *irep)
printf("OP_KARG\tR%d\t:%s\t", a, mrb_sym2name(mrb, irep->syms[b]));
print_lv_a(mrb, irep, a);
break;
- CASE(OP_KDICT, B):
- printf("OP_KDICT\tR%d\t\t", a);
- print_lv_a(mrb, irep, a);
- break;
CASE(OP_RETURN, B):
printf("OP_RETURN\tR%d\t\t", a);
print_lv_a(mrb, irep, a);
diff --git a/src/vm.c b/src/vm.c
index 8fe7c69b0..d47b4c7fc 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -1872,11 +1872,6 @@ RETRY_TRY_BLOCK:
NEXT;
}
- CASE(OP_KDICT, B) {
- regs[a] = regs[mrb->c->ci->argc];
- NEXT;
- }
-
CASE(OP_BREAK, B) {
c = OP_R_BREAK;
goto L_RETURN;