diff options
author | Damien George <damien.p.george@gmail.com> | 2015-05-06 16:46:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-05-06 16:46:21 +0100 |
commit | 57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0 (patch) | |
tree | fc398ab877ad426c16be913069ff42a0078a7276 /py/emitcpy.c | |
parent | 28076f3d4b3bf58aa86d6346af88665f7e5c6031 (diff) | |
download | micropython-57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0.tar.gz micropython-57ebe1b27d6ae10584d3b5f767e3cc5aa481c0b0.zip |
unix-cpy: Fix adjustment of stack size when leaving exception handler.
Also remove __debug__ from one of the bytecode tests.
Diffstat (limited to 'py/emitcpy.c')
-rw-r--r-- | py/emitcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitcpy.c b/py/emitcpy.c index 48c293091c..dc96c529fb 100644 --- a/py/emitcpy.c +++ b/py/emitcpy.c @@ -782,7 +782,7 @@ STATIC void emit_cpy_start_except_handler(emit_t *emit) { } STATIC void emit_cpy_end_except_handler(emit_t *emit) { - emit_cpy_adjust_stack_size(emit, -5); // stack adjust + emit_cpy_adjust_stack_size(emit, -2); // stack adjust } STATIC void emit_cpy_load_const_verbatim_strn(emit_t *emit, const char *str, mp_uint_t len) { |