From 42e0c593084784cb0b630d99b8361bc88abadb78 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 14 Mar 2015 13:11:35 +0000 Subject: 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. --- bare-arm/mpconfigport.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bare-arm') diff --git a/bare-arm/mpconfigport.h b/bare-arm/mpconfigport.h index e9a755294..7b8f8168b 100644 --- a/bare-arm/mpconfigport.h +++ b/bare-arm/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 (0) -- cgit v1.2.3