[llvm-commits] [llvm] r166050 - /llvm/trunk/lib/Transforms/Scalar/DCE.cpp
Jakub Staszak
kubastaszak at gmail.com
Tue Oct 16 12:39:40 PDT 2012
Author: kuba
Date: Tue Oct 16 14:39:40 2012
New Revision: 166050
URL: http://llvm.org/viewvc/llvm-project?rev=166050&view=rev
Log:
80-col fixup.
Modified:
llvm/trunk/lib/Transforms/Scalar/DCE.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/DCE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/DCE.cpp?rev=166050&r1=166049&r2=166050&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/DCE.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/DCE.cpp Tue Oct 16 14:39:40 2012
@@ -118,7 +118,8 @@
I->eraseFromParent();
// Remove the instruction from the worklist if it still exists in it.
- WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I), WorkList.end());
+ WorkList.erase(std::remove(WorkList.begin(), WorkList.end(), I),
+ WorkList.end());
MadeChange = true;
++DCEEliminated;
More information about the llvm-commits
mailing list