diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-09 23:52:28 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-09 23:52:28 +0800 |
commit | 97521b8df5635c62f1e09b7fa20aa9fd78ee4eee (patch) | |
tree | df640d6dcd982550c61b09af63c813f672f6abe6 /src/hir/expr_ptr.hpp | |
parent | 12f999b58b452223b9cf58bc85be3d83bb661e7c (diff) | |
download | mrust-97521b8df5635c62f1e09b7fa20aa9fd78ee4eee.tar.gz |
main+MIR - Enable MIR generation
Diffstat (limited to 'src/hir/expr_ptr.hpp')
-rw-r--r-- | src/hir/expr_ptr.hpp | 10 |
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(); |