summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-11 09:37:41 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-11 09:37:41 +0000
commit8d4ccc49ed8bca34579982a5a96b2b50da86d985 (patch)
treec22ac1b289b0011578164e235e5ae4b152ae567c /py/emitbc.c
parent25042b19d2310260e22d54ba09a124d5aaf4f512 (diff)
parent683466e55f2221cbd6b05106732c885bd324bc21 (diff)
downloadmicropython-8d4ccc49ed8bca34579982a5a96b2b50da86d985.tar.gz
micropython-8d4ccc49ed8bca34579982a5a96b2b50da86d985.zip
Merge branch 'master' of github.com:dpgeorge/micropython
Diffstat (limited to 'py/emitbc.c')
-rw-r--r--py/emitbc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/py/emitbc.c b/py/emitbc.c
index a00dfd0d96..fdef070a50 100644
--- a/py/emitbc.c
+++ b/py/emitbc.c
@@ -531,11 +531,6 @@ static void emit_bc_binary_op(emit_t *emit, rt_binary_op_t op) {
emit_write_byte_1_byte(emit, MP_BC_BINARY_OP, op);
}
-static void emit_bc_compare_op(emit_t *emit, rt_compare_op_t op) {
- emit_pre(emit, -1);
- emit_write_byte_1_byte(emit, MP_BC_COMPARE_OP, op);
-}
-
static void emit_bc_build_tuple(emit_t *emit, int n_args) {
assert(n_args >= 0);
emit_pre(emit, 1 - n_args);
@@ -762,7 +757,6 @@ const emit_method_table_t emit_bc_method_table = {
emit_bc_pop_except,
emit_bc_unary_op,
emit_bc_binary_op,
- emit_bc_compare_op,
emit_bc_build_tuple,
emit_bc_build_list,
emit_bc_list_append,