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.
This commit is contained in:
Damien George
2018-09-15 13:00:11 +10:00
parent 07caf4f969
commit 80db30a510
5 changed files with 20 additions and 24 deletions

View File

@@ -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,