diff options
| author | Damien George | 2014-06-03 10:46:36 +0100 |
|---|---|---|
| committer | Damien George | 2014-06-03 10:46:36 +0100 |
| commit | 07995e947967b7159cf88c48c2f09463015c1d45 (patch) | |
| tree | 7affa52a8ac05faa07ec777a319015731a5abc73 /py/runtime.c | |
| parent | 509c7a7854f24c202832d8fb1369130bf8908261 (diff) | |
| parent | 411732e93bcbeb529bc5f9722015b61c63eef3c5 (diff) | |
Merge pull request #649 from pfalcon/multi-opt
Support multiple bytecode optimisation levels
Diffstat (limited to 'py/runtime.c')
| -rw-r--r-- | py/runtime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/py/runtime.c b/py/runtime.c index ecaf40deb..27a5ed543 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -45,6 +45,7 @@ #include "bc.h" #include "smallint.h" #include "objgenerator.h" +#include "lexer.h" #if 0 // print debugging info #define DEBUG_PRINT (1) @@ -74,8 +75,8 @@ void mp_init(void) { MICROPY_PORT_INIT_FUNC; #endif - // __debug__ enabled by default - mp_set_debug(true); + // optimization disabled by default + mp_optimise_value = 0; // init global module stuff mp_module_init(); |
