py: Rename byte_code to bytecode everywhere.
bytecode is the more widely used. See issue #590.
diff --git a/py/emitglue.c b/py/emitglue.c
index ed3b385..4bd9027 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -73,7 +73,7 @@
return rc;
}
-void mp_emit_glue_assign_byte_code(mp_raw_code_t *rc, byte *code, uint len, uint n_pos_args, uint n_kwonly_args, qstr *arg_names, uint scope_flags) {
+void mp_emit_glue_assign_bytecode(mp_raw_code_t *rc, byte *code, uint len, uint n_pos_args, uint n_kwonly_args, qstr *arg_names, uint scope_flags) {
rc->kind = MP_CODE_BYTE;
rc->scope_flags = scope_flags;
rc->n_pos_args = n_pos_args;
@@ -99,7 +99,7 @@
#endif
#if MICROPY_DEBUG_PRINTERS
if (mp_verbose_flag > 0) {
- mp_byte_code_print(code, len);
+ mp_bytecode_print(code, len);
}
#endif
}