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 /windows | |
| parent | a77ffe66b23fe0f367af3dd64ae94b56fbf947d3 (diff) | |
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 'windows')
| -rw-r--r-- | windows/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 4ae0bbfb1..6e342f0d3 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -36,6 +36,7 @@ #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0) #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) |
