Fix a typo.
authorDan Gohman <gohman@apple.com>
Tue, 20 Jul 2010 23:10:36 +0000 (23:10 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 20 Jul 2010 23:10:36 +0000 (23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108962 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/StripSymbols.cpp

index 343702028aeaaeb0ef318a841ebef7c25a4462b0..c74bad00b5542a7ab2c47119fe33d622e4df3230 100644 (file)
@@ -259,7 +259,7 @@ static bool StripDebugInfo(Module &M) {
          ++FI)
       for (BasicBlock::iterator BI = FI->begin(), BE = FI->end(); BI != BE;
            ++BI) {
-        Changed != !BI->getDebugLoc().isUnknown();
+        Changed |= !BI->getDebugLoc().isUnknown();
         BI->setDebugLoc(DebugLoc());
       }