From 004e3eda48722c7fa2519854c9b63cf30cc99db3 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sat, 4 Jul 2015 13:49:33 +0900 Subject: [PATCH] remove dead code --- extlib/benz/vm.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/extlib/benz/vm.c b/extlib/benz/vm.c index fd57ca66..6c670faf 100644 --- a/extlib/benz/vm.c +++ b/extlib/benz/vm.c @@ -647,30 +647,10 @@ pic_apply(pic_state *pic, struct pic_proc *proc, pic_value args) NEXT; } CASE(OP_LREF) { - pic_callinfo *ci = pic->ci; - struct pic_irep *irep; - - if (ci->cxt != NULL && ci->cxt->regs == ci->cxt->storage) { - irep = pic_get_proc(pic)->u.i.irep; - if (c.u.i >= irep->argc + irep->localc) { - PUSH(ci->cxt->regs[c.u.i - (ci->regs - ci->fp)]); - NEXT; - } - } PUSH(pic->ci->fp[c.u.i]); NEXT; } CASE(OP_LSET) { - pic_callinfo *ci = pic->ci; - struct pic_irep *irep; - - if (ci->cxt != NULL && ci->cxt->regs == ci->cxt->storage) { - irep = pic_get_proc(pic)->u.i.irep; - if (c.u.i >= irep->argc + irep->localc) { - ci->cxt->regs[c.u.i - (ci->regs - ci->fp)] = POP(); - NEXT; - } - } pic->ci->fp[c.u.i] = POP(); PUSH(pic_undef_value()); NEXT;