[llvm-commits] CVS: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp
Jeff Cohen
jeffc at jolt-lang.org
Fri Dec 1 18:22:30 PST 2006
Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.34 -> 1.35
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes: (+7 -7)
PredicateSimplifier.cpp | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
Index: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp
diff -u llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.34 llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.35
--- llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.34 Wed Nov 22 17:49:15 2006
+++ llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp Fri Dec 1 20:22:01 2006
@@ -436,8 +436,8 @@
for (typename C::iterator KI = Kill.begin(), KE = Kill.end();
KI != KE; ++KI) {
- for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) {
- if (I->first == N) continue;
+ for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) {
+ if (I->first == N) continue;
Node::iterator NI = N->find(I->first);
if (NI == N->end()) {
@@ -446,8 +446,8 @@
unsigned char LV = NI->second & I->second;
if (LV == EQ_BIT) {
- assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end()
- && "Lost EQ property.");
+ assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end()
+ && "Lost EQ property.");
N->erase(NI);
} else {
NI->second = static_cast<LatticeVal>(LV);
@@ -465,9 +465,9 @@
}
// Removing references from N to Kill.
- Node::iterator I = N->find(*KI);
- if (I != N->end()) {
- N->erase(I); // breaks reciprocity until Kill is deleted.
+ Node::iterator NI = N->find(*KI);
+ if (NI != N->end()) {
+ N->erase(NI); // breaks reciprocity until Kill is deleted.
}
}
More information about the llvm-commits
mailing list