| Index: src/IceRegAlloc.cpp | 
| diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp | 
| index d3fae45e909c6b2544bd56dc2642b055d633be32..c60720118ee0cffcbe42dc7de53ad56957d8627b 100644 | 
| --- a/src/IceRegAlloc.cpp | 
| +++ b/src/IceRegAlloc.cpp | 
| @@ -45,6 +45,8 @@ bool overlapsDefs(const Cfg *Func, const Variable *Item, const Variable *Var) { | 
|  | 
| void dumpDisableOverlap(const Cfg *Func, const Variable *Var, | 
| const char *Reason) { | 
| +  if (!ALLOW_DUMP) | 
| +    return; | 
| if (Func->getContext()->isVerbose(IceV_LinearScan)) { | 
| VariablesMetadata *VMetadata = Func->getVMetadata(); | 
| Ostream &Str = Func->getContext()->getStrDump(); | 
| @@ -61,6 +63,8 @@ void dumpDisableOverlap(const Cfg *Func, const Variable *Var, | 
| } | 
|  | 
| void dumpLiveRange(const Variable *Var, const Cfg *Func) { | 
| +  if (!ALLOW_DUMP) | 
| +    return; | 
| Ostream &Str = Func->getContext()->getStrDump(); | 
| const static size_t BufLen = 30; | 
| char buf[BufLen]; | 
| @@ -92,7 +96,8 @@ void LinearScan::scan(const llvm::SmallBitVector &RegMaskFull) { | 
| Inactive.clear(); | 
| Active.clear(); | 
| Ostream &Str = Func->getContext()->getStrDump(); | 
| -  bool Verbose = Func->getContext()->isVerbose(IceV_LinearScan); | 
| +  const bool Verbose = | 
| +      ALLOW_DUMP && Func->getContext()->isVerbose(IceV_LinearScan); | 
| Func->resetCurrentNode(); | 
| VariablesMetadata *VMetadata = Func->getVMetadata(); | 
|  | 
| @@ -554,6 +559,8 @@ void LinearScan::scan(const llvm::SmallBitVector &RegMaskFull) { | 
| // ======================== Dump routines ======================== // | 
|  | 
| void LinearScan::dump(Cfg *Func) const { | 
| +  if (!ALLOW_DUMP) | 
| +    return; | 
| Ostream &Str = Func->getContext()->getStrDump(); | 
| if (!Func->getContext()->isVerbose(IceV_LinearScan)) | 
| return; | 
|  |