This commit is contained in:
Jeff Epler 2023-09-20 11:23:39 -05:00
parent e7668ed91d
commit 082b299a0c
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ uint8_t *mp_asm_base_get_cur_to_write_bytes(void *as_in, size_t num_bytes_to_wri
void mp_asm_base_label_assign(mp_asm_base_t *as, size_t label) { void mp_asm_base_label_assign(mp_asm_base_t *as, size_t label) {
assert(label < as->max_num_labels); assert(label < as->max_num_labels);
// Assiging a label ends any dead-code region, and all following machine // Assigning a label ends any dead-code region, and all following machine
// code should be emitted (until another mp_asm_base_suppress_code() call). // code should be emitted (until another mp_asm_base_suppress_code() call).
as->suppress = false; as->suppress = false;

View File

@ -439,7 +439,7 @@ void mp_emit_bc_set_source_line(emit_t *emit, mp_uint_t source_line) {
} }
void mp_emit_bc_label_assign(emit_t *emit, mp_uint_t l) { void mp_emit_bc_label_assign(emit_t *emit, mp_uint_t l) {
// Assiging a label ends any dead-code region, and all following opcodes // Assigning a label ends any dead-code region, and all following opcodes
// should be emitted (until another unconditional flow control). // should be emitted (until another unconditional flow control).
emit->suppress = false; emit->suppress = false;