diff options
author | John Hodge <tpg@mutabah.net> | 2017-02-04 10:42:21 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-02-04 10:42:21 +0800 |
commit | c3c3c98e9346f500ec955a32200f27befd0fd6da (patch) | |
tree | 4b73d76dabf3ece9fd0cb9d6d63b5a9c8626bc0d /src/mir/helpers.hpp | |
parent | c72c7c2024df0d1ef53249f756f63d07d82fa581 (diff) | |
download | mrust-c3c3c98e9346f500ec955a32200f27befd0fd6da.tar.gz |
MIR Validate - Slight refactor for cleaner code
Diffstat (limited to 'src/mir/helpers.hpp')
-rw-r--r-- | src/mir/helpers.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir/helpers.hpp b/src/mir/helpers.hpp index ab558791..ece20605 100644 --- a/src/mir/helpers.hpp +++ b/src/mir/helpers.hpp @@ -48,9 +48,11 @@ public: const ::HIR::Crate& m_crate; private: ::FmtLambda m_path; +public: const ::HIR::TypeRef& m_ret_type; const args_t& m_args; const ::MIR::Function& m_fcn; +private: const ::HIR::SimplePath* m_lang_Box = nullptr; unsigned int bb_idx = 0; |