diff options
author | John Hodge <tpg@ucc.asn.au> | 2017-03-06 10:01:29 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2017-03-06 10:01:29 +0800 |
commit | 15b32eeb92904d3172eefed614d3a512fc341dbe (patch) | |
tree | 669bc8340cf6d711c1e8ab9cf6c639a387bea772 | |
parent | 41050e3bbdcf0f3dcb73d86f78fdbad0f4984cb5 (diff) | |
download | mrust-15b32eeb92904d3172eefed614d3a512fc341dbe.tar.gz |
MIR Optimise - Reduce debug and pedantic validation
-rw-r--r-- | src/mir/optimise.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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]; |