From 5f6a25fc50503b70af1f3a9a27f13c2a698d0a0e Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 20 Apr 2014 18:02:27 +0100 Subject: py: Wrap #if's around emitter functions that are used only by emitcpy. 3 emitter functions are needed only for emitcpy, and so we can #if them out when compiling with emitcpy support. Also remove unused SETUP_LOOP bytecode. --- py/showbc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'py/showbc.c') diff --git a/py/showbc.c b/py/showbc.c index bf25966e9..4a8e12e68 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -287,11 +287,6 @@ void mp_byte_code_print(const byte *ip, int len) { printf("JUMP_IF_FALSE_OR_POP " UINT_FMT, ip + unum - ip_start); break; - case MP_BC_SETUP_LOOP: - DECODE_ULABEL; // loop labels are always forward - printf("SETUP_LOOP " UINT_FMT, ip + unum - ip_start); - break; - case MP_BC_SETUP_WITH: DECODE_ULABEL; // loop-like labels are always forward printf("SETUP_WITH " UINT_FMT, ip + unum - ip_start); -- cgit v1.2.3