summaryrefslogtreecommitdiff
path: root/src/hir/expr_ptr.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-09 23:52:28 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-09 23:52:28 +0800
commit97521b8df5635c62f1e09b7fa20aa9fd78ee4eee (patch)
treedf640d6dcd982550c61b09af63c813f672f6abe6 /src/hir/expr_ptr.hpp
parent12f999b58b452223b9cf58bc85be3d83bb661e7c (diff)
downloadmrust-97521b8df5635c62f1e09b7fa20aa9fd78ee4eee.tar.gz
main+MIR - Enable MIR generation
Diffstat (limited to 'src/hir/expr_ptr.hpp')
-rw-r--r--src/hir/expr_ptr.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/hir/expr_ptr.hpp b/src/hir/expr_ptr.hpp
index d9f0982a..4ac4e86f 100644
--- a/src/hir/expr_ptr.hpp
+++ b/src/hir/expr_ptr.hpp
@@ -1,12 +1,15 @@
/*
+ * MRustC - Rust Compiler
+ * - By John Hodge (Mutabah/thePowersGang)
+ *
+ * hir/expr_ptr.hpp
+ * - HIR Expression
*/
#pragma once
#include <memory>
#include <vector>
-namespace MIR {
-class Function;
-}
+#include <mir/mir_ptr.hpp>
namespace HIR {
@@ -19,6 +22,7 @@ class ExprPtr
public:
::std::vector< ::HIR::TypeRef> m_bindings;
+ ::MIR::FunctionPointer m_mir;
public:
ExprPtr();