diff options
author | Damien George <damien.p.george@gmail.com> | 2015-03-14 13:11:35 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-14 13:11:35 +0000 |
commit | 42e0c593084784cb0b630d99b8361bc88abadb78 (patch) | |
tree | 77fbdc4ec51705f0e29e07b050b520a0e27f13f2 /unix | |
parent | a77ffe66b23fe0f367af3dd64ae94b56fbf947d3 (diff) | |
download | micropython-42e0c593084784cb0b630d99b8361bc88abadb78.tar.gz micropython-42e0c593084784cb0b630d99b8361bc88abadb78.zip |
py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.
These allow to fine-tune the compiler to select whether it optimises
tuple assignments of the form a, b = c, d and a, b, c = d, e, f.
Sensible defaults are provided.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 7eb4d548ff..c8ba26897b 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -40,6 +40,7 @@ #define MICROPY_EMIT_ARM (1) #endif #define MICROPY_COMP_MODULE_CONST (1) +#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (1) #define MICROPY_ENABLE_GC (1) #define MICROPY_ENABLE_FINALISER (1) #define MICROPY_STACK_CHECK (1) |