diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-17 23:24:13 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-17 23:24:13 +0100 |
commit | 5b65f0c7d386646229b6647332e7a09277872e4c (patch) | |
tree | 06e46eaf0b82fe600109ccaeefa76f3512175922 /unix/mpconfigport.h | |
parent | 559d8239cac950cc011edd9605010a311b2b9be6 (diff) | |
download | micropython-5b65f0c7d386646229b6647332e7a09277872e4c.tar.gz micropython-5b65f0c7d386646229b6647332e7a09277872e4c.zip |
py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal.
On stmhal, computed gotos make the binary about 1k bigger, but makes it
run faster, and we have the room, so why not. All tests pass on
pyboard using computed gotos.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 5abfe2d9d3..2d252427f0 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -13,7 +13,7 @@ #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ) #define MICROPY_PATH_MAX (PATH_MAX) -#define MICROPY_USE_COMPUTED_GOTOS (1) +#define MICROPY_USE_COMPUTED_GOTO (1) #define MICROPY_MOD_SYS_STDFILES (1) #define MICROPY_ENABLE_MOD_CMATH (1) |