From c813346166c7a60c24c9e9f5f2ea00d786cbf856 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 20 Jul 2010 23:10:36 +0000 Subject: [PATCH] Fix a typo. llvm-svn: 108962 --- lib/Transforms/IPO/StripSymbols.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }