aboutsummaryrefslogtreecommitdiff
path: root/py/emit.h
diff options
context:
space:
mode:
authorDamien2013-10-07 00:02:49 +0100
committerDamien2013-10-07 00:02:49 +0100
commit7af3d19a3ca5957dc66b57eea9279da010576862 (patch)
tree323dafedd43ac90e38e4a65b280fef9d9cb047be /py/emit.h
parente4af64f307869355a749b6bc5c27cd9735e3fe1d (diff)
Implement crude viper emit stage.
Diffstat (limited to 'py/emit.h')
-rw-r--r--py/emit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/emit.h b/py/emit.h
index 221fdb378..74795b5ab 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -120,6 +120,7 @@ extern const emit_method_table_t emit_pass1_method_table;
extern const emit_method_table_t emit_cpython_method_table;
extern const emit_method_table_t emit_bc_method_table;
extern const emit_method_table_t emit_x64_method_table;
+extern const emit_method_table_t emit_viper_x64_method_table;
extern const emit_method_table_t emit_thumb_method_table;
emit_t *emit_pass1_new(qstr qstr___class__);
@@ -127,6 +128,7 @@ void emit_pass1_free(emit_t *emit);
emit_t *emit_cpython_new(uint max_num_labels);
emit_t *emit_bc_new(uint max_num_labels);
emit_t *emit_x64_new(uint max_num_labels);
+emit_t *emit_viper_x64_new(uint max_num_labels);
emit_t *emit_thumb_new(uint max_num_labels);
typedef struct _emit_inline_asm_t emit_inline_asm_t;