summaryrefslogtreecommitdiff
path: root/src/mir/operations.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir/operations.hpp')
-rw-r--r--src/mir/operations.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir/operations.hpp b/src/mir/operations.hpp
index deef8830..cdc9c00b 100644
--- a/src/mir/operations.hpp
+++ b/src/mir/operations.hpp
@@ -14,3 +14,5 @@ extern void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPat
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);
// Optimise the MIR
extern void MIR_Optimise(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path, ::MIR::Function& fcn, const ::HIR::Function::args_t& args, const ::HIR::TypeRef& ret_type);
+
+extern void MIR_Dump_Fcn(::std::ostream& sink, const ::MIR::Function& fcn, unsigned int il=0);