Remove debugging code, unneuter this functionality

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-11-18 19:42:50 +00:00
parent a269ec7b0a
commit d29c636a00

View File

@@ -90,7 +90,7 @@ struct ListReducer {
// could. If there is more two elements in the list, try deleting interior // could. If there is more two elements in the list, try deleting interior
// elements and testing that. // elements and testing that.
// //
if (0 && TheList.size() > 2) { if (TheList.size() > 2) {
bool Changed = true; bool Changed = true;
std::vector<ElTy> EmptyList; std::vector<ElTy> EmptyList;
while (Changed) { while (Changed) {
@@ -107,6 +107,9 @@ struct ListReducer {
Changed = true; Changed = true;
} }
} }
// This can take a long time if left uncontrolled. For now, don't
// iterate.
break;
} }
} }