diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-09 22:50:58 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-09 22:50:58 +1100 |
commit | 155fdc74d5864266441887d6c88111159f401a62 (patch) | |
tree | 190638448b8cedcdfe43fa703b3bf72e3a38f333 /py/asmx64.h | |
parent | e920bab9768f71c7e22fcfc5af3e1c40f2db8eeb (diff) | |
download | micropython-155fdc74d5864266441887d6c88111159f401a62.tar.gz micropython-155fdc74d5864266441887d6c88111159f401a62.zip |
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).
Diffstat (limited to 'py/asmx64.h')
-rw-r--r-- | py/asmx64.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/py/asmx64.h b/py/asmx64.h index f80c8da8b2..4499c53c32 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; |