aboutsummaryrefslogtreecommitdiff
path: root/py/emitbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-15 13:00:11 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-15 13:00:11 +1000
commit80db30a510caeb0c575bcedc09683cacdce46de6 (patch)
treea46532715bcbe672b6570c8673eacac00d43b044 /py/emitbc.c
parent07caf4f969a9ad09e7a18d6cf419d92848908e40 (diff)
py/emit: Completely remove set_native_type, arg type is set in compiler.
In viper mode, the type of the argument is now stored in id_info->flags.
Diffstat (limited to 'py/emitbc.c')
-rw-r--r--py/emitbc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/py/emitbc.c b/py/emitbc.c
index f3951e9cb..98e1d1bde 100644
--- a/py/emitbc.c
+++ b/py/emitbc.c
@@ -910,7 +910,6 @@ void mp_emit_bc_end_except_handler(emit_t *emit) {
#if MICROPY_EMIT_NATIVE
const emit_method_table_t emit_bc_method_table = {
- NULL, // set_native_type is never called when emitting bytecode
mp_emit_bc_start_pass,
mp_emit_bc_end_pass,
mp_emit_bc_last_emit_was_return_value,