vm: Implement DELETE_FAST_N bytecode.

This commit is contained in:
Paul Sokolovsky 2014-03-30 13:39:43 +03:00
parent 48bdb21332
commit 14b8203a99
1 changed files with 5 additions and 0 deletions

View File

@ -309,6 +309,11 @@ dispatch_loop:
sp -= 3;
break;
case MP_BC_DELETE_FAST_N:
DECODE_UINT;
fastn[-unum] = MP_OBJ_NULL;
break;
case MP_BC_DELETE_NAME:
DECODE_QSTR;
mp_delete_name(qst);