summaryrefslogtreecommitdiffhomepage
path: root/asm/intel64/encode.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-09 10:40:16 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-09 10:40:16 +0100
commit414953eba1b1cc3570da1e59dc2392ce1b1ae5ef (patch)
tree3b4ab9ebefd57e847b99195887d5b221be2423ae /asm/intel64/encode.h
parent6ab3715ee2622e293f7c4924511f31347b327e6e (diff)
Move encode.h|cpp to intel specific
Diffstat (limited to 'asm/intel64/encode.h')
-rw-r--r--asm/intel64/encode.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/asm/intel64/encode.h b/asm/intel64/encode.h
new file mode 100644
index 0000000..7fd23d6
--- /dev/null
+++ b/asm/intel64/encode.h
@@ -0,0 +1,14 @@
+// Convert: Abstract FlowGraph to Machine dependent Code
+
+#pragma once
+
+#include "asm/segment.h"
+#include "flowgraph/graph.h"
+
+namespace Asm {
+
+// in: graph
+// out: segment
+void toMachineCode(const FlowGraph::Graph& graph, Segment& segment);
+
+} // namespace Asm