diff options
Diffstat (limited to 'src/mir/operations.hpp')
-rw-r--r-- | src/mir/operations.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mir/operations.hpp b/src/mir/operations.hpp new file mode 100644 index 00000000..a32531e9 --- /dev/null +++ b/src/mir/operations.hpp @@ -0,0 +1,12 @@ +/* + * MRustC - Rust Compiler + * - By John Hodge (Mutabah/thePowersGang) + * + * mir/operations.hpp + * - Common header for operations performed on MIR functions + */ +#include <hir_typeck/static.hpp> +#include <hir/item_path.hpp> + +extern void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path, const ::MIR::Function& fcn, const ::HIR::Function::args_t& args, const ::HIR::TypeRef& ret_type); +extern void MIR_Cleanup(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path, ::MIR::Function& fcn, const ::HIR::Function::args_t& args, const ::HIR::TypeRef& ret_type); |