diff options
author | Damien George <damien.p.george@gmail.com> | 2019-09-23 23:32:31 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-01 12:26:22 +1000 |
commit | 1d7afcce49366c11f67561019a5adf5e60c450f5 (patch) | |
tree | a11941b72b95912d7e2673d65ab86d970272fab8 | |
parent | fafa9d35ddf90d35e14f32e736ac824631b09b38 (diff) |
py/bc: Remove comments referring to obsolete currently_in_except_block.
It was made obsolete in 6f9e3ff719917616f163d3d671d6abe9472ba6ff
-rw-r--r-- | py/bc.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -77,10 +77,10 @@ typedef struct _mp_bytecode_prelude_t { // Exception stack entry typedef struct _mp_exc_stack_t { const byte *handler; - // bit 0 is saved currently_in_except_block value + // bit 0 is currently unused // bit 1 is whether the opcode was SETUP_WITH or SETUP_FINALLY mp_obj_t *val_sp; - // Saved exception, valid if currently_in_except_block bit is 1 + // Saved exception mp_obj_base_t *prev_exc; } mp_exc_stack_t; @@ -92,7 +92,6 @@ typedef struct _mp_code_state_t { mp_obj_fun_bc_t *fun_bc; const byte *ip; mp_obj_t *sp; - // bit 0 is saved currently_in_except_block value mp_exc_stack_t *exc_sp; mp_obj_dict_t *old_globals; #if MICROPY_STACKLESS |