summaryrefslogtreecommitdiff
path: root/py/emit.h
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/emit.h
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/emit.h')
-rw-r--r--py/emit.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/emit.h b/py/emit.h
index d511eb259..84972dd69 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -51,8 +51,6 @@ typedef enum {
#define MP_EMIT_BREAK_FROM_FOR (0x8000)
-#define MP_EMIT_NATIVE_TYPE_ARG (2)
-
// Kind for emit_id_ops->local()
#define MP_EMIT_IDOP_LOCAL_FAST (0)
#define MP_EMIT_IDOP_LOCAL_DEREF (1)
@@ -100,7 +98,6 @@ typedef struct _mp_emit_method_table_id_ops_t {
} mp_emit_method_table_id_ops_t;
typedef struct _emit_method_table_t {
- void (*set_native_type)(emit_t *emit, mp_uint_t op, mp_uint_t arg1, qstr arg2);
void (*start_pass)(emit_t *emit, pass_kind_t pass, scope_t *scope);
void (*end_pass)(emit_t *emit);
bool (*last_emit_was_return_value)(emit_t *emit);