py/emit: Remove need to call set_native_type to set native/viper mode.

The native emitter can easily determine the mode via scope->emit_options.
This commit is contained in:
Damien George
2018-09-15 12:17:14 +10:00
parent 3751512e9d
commit 1d7c221b30
3 changed files with 2 additions and 10 deletions

View File

@@ -51,7 +51,6 @@ typedef enum {
#define MP_EMIT_BREAK_FROM_FOR (0x8000)
#define MP_EMIT_NATIVE_TYPE_ENABLE (0)
#define MP_EMIT_NATIVE_TYPE_RETURN (1)
#define MP_EMIT_NATIVE_TYPE_ARG (2)