diff options
| author | Damien George | 2015-03-14 13:11:35 +0000 |
|---|---|---|
| committer | Damien George | 2015-03-14 13:11:35 +0000 |
| commit | 42e0c593084784cb0b630d99b8361bc88abadb78 (patch) | |
| tree | 77fbdc4ec51705f0e29e07b050b520a0e27f13f2 /minimal | |
| 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 'minimal')
| -rw-r--r-- | minimal/mpconfigport.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/minimal/mpconfigport.h b/minimal/mpconfigport.h index 4addae578..188a00958 100644 --- a/minimal/mpconfigport.h +++ b/minimal/mpconfigport.h @@ -8,6 +8,8 @@ #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_COMP_MODULE_CONST (0) #define MICROPY_COMP_CONST (0) +#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (0) +#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN (0) #define MICROPY_MEM_STATS (0) #define MICROPY_DEBUG_PRINTERS (0) #define MICROPY_ENABLE_GC (1) |
