diff options
author | John Hodge <tpg@mutabah.net> | 2017-07-08 18:09:35 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-07-08 18:09:35 +0800 |
commit | 4a954d768f5d314133e85629546fdb4a4f587d2d (patch) | |
tree | 2e498bc166b5809fe1d8afc879b92033760ff86b /src/mir/helpers.hpp | |
parent | 029dd3f14422f0587b63e33781afe072bafc094a (diff) | |
download | mrust-4a954d768f5d314133e85629546fdb4a4f587d2d.tar.gz |
Codegen+Loading - MSVC support draft (libcore compiles, doesn't load)
Diffstat (limited to 'src/mir/helpers.hpp')
-rw-r--r-- | src/mir/helpers.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir/helpers.hpp b/src/mir/helpers.hpp index f241753e..12fd4ddf 100644 --- a/src/mir/helpers.hpp +++ b/src/mir/helpers.hpp @@ -101,6 +101,7 @@ public: const ::HIR::TypeRef& get_static_type(::HIR::TypeRef& tmp, const ::HIR::Path& path) const; const ::HIR::TypeRef& get_lvalue_type(::HIR::TypeRef& tmp, const ::MIR::LValue& val) const; + const ::HIR::TypeRef& get_param_type(::HIR::TypeRef& tmp, const ::MIR::Param& val) const; ::HIR::TypeRef get_const_type(const ::MIR::Constant& c) const; |