summaryrefslogtreecommitdiffstatshomepage
path: root/py/showbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-10 10:36:38 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-10 10:36:38 +0100
commit3417bc2f25c492f7551e35d14349d85a45122b43 (patch)
tree550e4a6b5350cedd8b89ee476f53d943712c7453 /py/showbc.c
parent6e8085b425a9d02ac3e204651e2c9d8de9a23a85 (diff)
downloadmicropython-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/showbc.c')
-rw-r--r--py/showbc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/py/showbc.c b/py/showbc.c
index d8ab4be074..48d5328c20 100644
--- a/py/showbc.c
+++ b/py/showbc.c
@@ -54,9 +54,9 @@
ip += sizeof(machine_uint_t); \
} while (0)
-void mp_byte_code_print2(const byte *ip, int len);
+void mp_bytecode_print2(const byte *ip, int len);
-void mp_byte_code_print(const byte *ip, int len) {
+void mp_bytecode_print(const byte *ip, int len) {
const byte *ip_start = ip;
// get code info size
@@ -99,10 +99,10 @@ void mp_byte_code_print(const byte *ip, int len) {
printf(" bc=" INT_FMT " line=" UINT_FMT "\n", bc, source_line);
}
}
- mp_byte_code_print2(ip, len - 0);
+ mp_bytecode_print2(ip, len - 0);
}
-void mp_byte_code_print2(const byte *ip, int len) {
+void mp_bytecode_print2(const byte *ip, int len) {
const byte *ip_start = ip;
machine_uint_t unum;
qstr qstr;