From: Dan Gohman Date: Tue, 20 Jul 2010 23:10:36 +0000 (+0000) Subject: Fix a typo. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e336cbc450b98e90ee7f6f6dc8cfff45511baad7;p=oota-llvm.git Fix a typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108962 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/IPO/StripSymbols.cpp b/lib/Transforms/IPO/StripSymbols.cpp index 343702028ae..c74bad00b55 100644 --- a/lib/Transforms/IPO/StripSymbols.cpp +++ b/lib/Transforms/IPO/StripSymbols.cpp @@ -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()); }