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

@@ -41,6 +41,7 @@ enum {
ID_FLAG_IS_PARAM = 0x01,
ID_FLAG_IS_STAR_PARAM = 0x02,
ID_FLAG_IS_DBL_STAR_PARAM = 0x04,
ID_FLAG_VIPER_TYPE_POS = 4,
};
typedef struct _id_info_t {