diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-10 10:36:38 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-10 10:36:38 +0100 |
commit | 3417bc2f25c492f7551e35d14349d85a45122b43 (patch) | |
tree | 550e4a6b5350cedd8b89ee476f53d943712c7453 /py/emitglue.c | |
parent | 6e8085b425a9d02ac3e204651e2c9d8de9a23a85 (diff) | |
download | micropython-3417bc2f25c492f7551e35d14349d85a45122b43.tar.gz micropython-3417bc2f25c492f7551e35d14349d85a45122b43.zip |
py: Rename byte_code to bytecode everywhere.
bytecode is the more widely used. See issue #590.
Diffstat (limited to 'py/emitglue.c')
-rw-r--r-- | py/emitglue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/emitglue.c b/py/emitglue.c index ed3b385d9f..4bd9027317 100644 --- a/py/emitglue.c +++ b/py/emitglue.c @@ -73,7 +73,7 @@ mp_raw_code_t *mp_emit_glue_new_raw_code(void) { 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 @@ void mp_emit_glue_assign_byte_code(mp_raw_code_t *rc, byte *code, uint len, uint #endif #if MICROPY_DEBUG_PRINTERS if (mp_verbose_flag > 0) { - mp_byte_code_print(code, len); + mp_bytecode_print(code, len); } #endif } |