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/asmx64.h | 1 - 1 file changed, 1 deletion(-) (limited to 'py/asmx64.h') diff --git a/py/asmx64.h b/py/asmx64.h index f80c8da8b..4499c53c3 100644 --- a/py/asmx64.h +++ b/py/asmx64.h @@ -72,7 +72,6 @@ typedef struct _asm_x64_t { mp_asm_base_t base; - byte dummy_data[4]; // in addition to dummy_data in base int num_locals; } asm_x64_t; -- cgit v1.2.3