diff options
Diffstat (limited to 'lib/CodeGen/WinEHPrepare.cpp')
| -rw-r--r-- | lib/CodeGen/WinEHPrepare.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/WinEHPrepare.cpp b/lib/CodeGen/WinEHPrepare.cpp index c63a0a9e60ea3..7ad84734203d9 100644 --- a/lib/CodeGen/WinEHPrepare.cpp +++ b/lib/CodeGen/WinEHPrepare.cpp @@ -1014,6 +1014,7 @@ void WinEHPrepare::cleanupPreparedFunclets(Function &F) {    removeUnreachableBlocks(F);  } +#ifndef NDEBUG  void WinEHPrepare::verifyPreparedFunclets(Function &F) {    for (BasicBlock &BB : F) {      size_t NumColors = BlockColors[&BB].size(); @@ -1026,6 +1027,7 @@ void WinEHPrepare::verifyPreparedFunclets(Function &F) {             "EH Pad still has a PHI!");    }  } +#endif  bool WinEHPrepare::prepareExplicitEH(Function &F) {    // Remove unreachable blocks.  It is not valuable to assign them a color and  | 
