summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-01-31 09:48:26 +0100
committerMatthias Braun <matze@braunis.de>2016-02-01 02:29:11 +0100
commitac88d96aa83ecaa3590906db9ebb169b37578d06 (patch)
tree0160c023c1b7ea4f4df1e46b5c7a99073f3bdc97 /ir/be/bearch.h
parenta80f85566624b9516344239cba28f0eb7c86e8b7 (diff)
bejit: Introduce brand new jit infrastructure
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 99850dd..23d6a5b 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -14,6 +14,7 @@
#include <stdbool.h>
#include "firm_types.h"
+#include "jit.h"
#include "raw_bitset.h"
#include "be_types.h"
@@ -288,6 +289,10 @@ struct arch_isa_if_t {
*/
void (*generate_code)(FILE *output, const char *cup_name);
+ ir_jit_function_t* (*jit_compile)(ir_jit_segment_t *segment, ir_graph *irg);
+
+ void (*emit_function)(char *buffer, ir_jit_function_t *function);
+
/**
* lowers current program for target. See the documentation for
* be_lower_for_target() for details.