Kaynağa Gözat

CodeGen: Explicitly convert from iterator to pointer, NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261508 91177308-0d34-0410-b5e6-96231b3b80d8
Duncan P. N. Exon Smith 9 yıl önce
ebeveyn
işleme
d2c0ad9eb4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/CodeGen/EarlyIfConversion.cpp

+ 1 - 1
lib/CodeGen/EarlyIfConversion.cpp

@@ -278,7 +278,7 @@ bool SSAIfConv::findInsertionPoint() {
   while (I != B) {
     --I;
     // Some of the conditional code depends in I.
-    if (InsertAfter.count(I)) {
+    if (InsertAfter.count(&*I)) {
       DEBUG(dbgs() << "Can't insert code after " << *I);
       return false;
     }