summaryrefslogtreecommitdiff
path: root/src/trans/monomorphise.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-03 15:44:00 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-03 15:44:00 +0800
commite5a626edeac23f1eb1d4748d3fa667478db857c5 (patch)
tree4d31becf0acf8d5a8dd8d18e197399f8ce01e310 /src/trans/monomorphise.hpp
parent16e7559bcca93b885bc0d2480a388960104bf78e (diff)
downloadmrust-e5a626edeac23f1eb1d4748d3fa667478db857c5.tar.gz
Trans Codegen - Structure coming up
Diffstat (limited to 'src/trans/monomorphise.hpp')
-rw-r--r--src/trans/monomorphise.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/trans/monomorphise.hpp b/src/trans/monomorphise.hpp
new file mode 100644
index 00000000..16a5d742
--- /dev/null
+++ b/src/trans/monomorphise.hpp
@@ -0,0 +1,17 @@
+/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * trans/monomorphise.hpp
+ * - MIR monomorphisation
+ */
+#pragma once
+
+#include <mir/mir_ptr.hpp>
+#include "trans_list.hpp"
+
+namespace HIR {
+ class Crate;
+}
+
+extern ::MIR::FunctionPointer Trans_Monomorphise(const ::HIR::Crate& crate, const Trans_Params& params, const ::MIR::FunctionPointer& tpl);