From 155fdc74d5864266441887d6c88111159f401a62 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 9 Dec 2016 22:50:58 +1100 Subject: py/asm: Remove need for dummy_data when doing initial assembler passes. For all but the last pass the assembler only needs to count how much space is needed for the machine code, it doesn't actually need to emit anything. The dummy_data just uses unnecessary RAM and without it the code is not any more complex (and code size does not increase for Thumb and Xtensa archs). --- py/asmx86.h | 1 - 1 file changed, 1 deletion(-) (limited to 'py/asmx86.h') diff --git a/py/asmx86.h b/py/asmx86.h index ac4b2ecd0..0b44af663 100644 --- a/py/asmx86.h +++ b/py/asmx86.h @@ -75,7 +75,6 @@ typedef struct _asm_x86_t { mp_asm_base_t base; - byte dummy_data[4]; // in addition to dummy_data in base int num_locals; } asm_x86_t; -- cgit v1.2.3