From b9b1c00c8af9e4d654aed30f8f98875657f14891 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 12 Apr 2014 00:34:57 +0300 Subject: [PATCH] showbs: Dump LOAD_CONST_BYTES. --- py/showbc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/py/showbc.c b/py/showbc.c index 8d6e867b14..08dec1e2bf 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -101,6 +101,11 @@ void mp_byte_code_print(const byte *ip, int len) { printf("LOAD_CONST_ID %s", qstr_str(qstr)); break; + case MP_BC_LOAD_CONST_BYTES: + DECODE_QSTR; + printf("LOAD_CONST_BYTES %s", qstr_str(qstr)); + break; + case MP_BC_LOAD_CONST_STRING: DECODE_QSTR; printf("LOAD_CONST_STRING %s", qstr_str(qstr));