From 15b32eeb92904d3172eefed614d3a512fc341dbe Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 6 Mar 2017 10:01:29 +0800 Subject: MIR Optimise - Reduce debug and pedantic validation --- src/mir/optimise.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/mir/optimise.cpp b/src/mir/optimise.cpp index 637e78ec..5062fcf7 100644 --- a/src/mir/optimise.cpp +++ b/src/mir/optimise.cpp @@ -434,7 +434,7 @@ void MIR_Optimise(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path // >> Combine Duplicate Blocks change_happened |= MIR_Optimise_UnifyBlocks(state, fcn); - #if 1 + #if 0 if( change_happened ) { //MIR_Dump_Fcn(::std::cout, fcn); @@ -1449,7 +1449,7 @@ bool MIR_Optimise_UnifyTemporaries(::MIR::TypeResolve& state, ::MIR::Function& f } // Dump out variable lifetimes. -#if 1 +#if 0 for(unsigned int i = 0; i < temporary_lifetimes.size(); i ++) { const auto& lft = temporary_lifetimes[i]; -- cgit v1.2.3