File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
lib/SILOptimizer/LoopTransforms Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 38
38
#include " llvm/Support/Debug.h"
39
39
using namespace swift ;
40
40
41
- #ifndef NDEBUG
42
- llvm::cl::opt<std::string>
43
- COWViewCFGFunction (" view-cfg-before-cow-for" , llvm::cl::init(" " ),
44
- llvm::cl::desc(" Only print out the sil for this function" ));
45
- #endif
46
-
47
41
// / \return a sequence of integers representing the access path of this element
48
42
// / within a Struct/Ref/Tuple.
49
43
// /
@@ -1585,13 +1579,6 @@ class COWArrayOptPass : public SILFunctionTransform {
1585
1579
return ;
1586
1580
}
1587
1581
1588
- #ifndef NDEBUG
1589
- if (!COWViewCFGFunction.empty () && getFunction ()->getName () == COWViewCFGFunction) {
1590
- getFunction ()->dump ();
1591
- getFunction ()->viewCFG ();
1592
- }
1593
- #endif
1594
-
1595
1582
// Create a flat list of loops in loop-tree postorder (bottom-up).
1596
1583
llvm::SmallVector<SILLoop *, 16 > Loops;
1597
1584
std::function<void (SILLoop*)> pushChildren = [&](SILLoop *L) {
You can’t perform that action at this time.
0 commit comments