aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-02-26 10:51:52 +0000
committerBill Wendling <isanbard@gmail.com>2008-02-26 10:51:52 +0000
commitf059deb8dd420b611c8b1a6d70720baf3ea19d51 (patch)
tree9ac2d6e74bc6c90b58620fb3e0463434b422dd77 /lib/Analysis
parente85fe660e4e99d30ca9292b706b8ffe6d0367dca (diff)
downloadexternal_llvm-f059deb8dd420b611c8b1a6d70720baf3ea19d51.zip
external_llvm-f059deb8dd420b611c8b1a6d70720baf3ea19d51.tar.gz
external_llvm-f059deb8dd420b611c8b1a6d70720baf3ea19d51.tar.bz2
De-tabify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/IPA/Andersens.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp
index 22f151b..345b8bd 100644
--- a/lib/Analysis/IPA/Andersens.cpp
+++ b/lib/Analysis/IPA/Andersens.cpp
@@ -2347,15 +2347,15 @@ void Andersens::SolveConstraints() {
unsigned DestVar = *bi;
unsigned Rep = FindNode(DestVar);
- // If we ended up with this node as our destination, or we've already
- // got an edge for the representative, delete the current edge.
- if (Rep == CurrNodeIndex ||
- (Rep != DestVar && NewEdges.test(Rep))) {
- ToErase.set(DestVar);
- continue;
- }
+ // If we ended up with this node as our destination, or we've already
+ // got an edge for the representative, delete the current edge.
+ if (Rep == CurrNodeIndex ||
+ (Rep != DestVar && NewEdges.test(Rep))) {
+ ToErase.set(DestVar);
+ continue;
+ }
- std::pair<unsigned,unsigned> edge(CurrNodeIndex,Rep);
+ std::pair<unsigned,unsigned> edge(CurrNodeIndex,Rep);
// This is where we do lazy cycle detection.
// If this is a cycle candidate (equal points-to sets and this