diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-02 06:11:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-02 06:11:42 +0000 |
commit | 3e8b6631e67e01e4960a7ba4668a50c596607473 (patch) | |
tree | 3864dfc8661f3ff9716f150dc64aa671c3b47fd2 /lib/Transforms/Scalar/DCE.cpp | |
parent | 52600972832cb4ae8f4c63802f3764cbfbcb203d (diff) | |
download | llvm-3e8b6631e67e01e4960a7ba4668a50c596607473.tar.gz llvm-3e8b6631e67e01e4960a7ba4668a50c596607473.tar.bz2 llvm-3e8b6631e67e01e4960a7ba4668a50c596607473.tar.xz |
eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/DCE.cpp')
-rw-r--r-- | lib/Transforms/Scalar/DCE.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/DCE.cpp b/lib/Transforms/Scalar/DCE.cpp index 8bb504c09c..39940c35da 100644 --- a/lib/Transforms/Scalar/DCE.cpp +++ b/lib/Transforms/Scalar/DCE.cpp @@ -21,7 +21,6 @@ #include "llvm/Transforms/Utils/Local.h" #include "llvm/Instruction.h" #include "llvm/Pass.h" -#include "llvm/Support/Compiler.h" #include "llvm/Support/InstIterator.h" #include "llvm/ADT/Statistic.h" #include <set> @@ -34,7 +33,7 @@ namespace { //===--------------------------------------------------------------------===// // DeadInstElimination pass implementation // - struct VISIBILITY_HIDDEN DeadInstElimination : public BasicBlockPass { + struct DeadInstElimination : public BasicBlockPass { static char ID; // Pass identification, replacement for typeid DeadInstElimination() : BasicBlockPass(&ID) {} virtual bool runOnBasicBlock(BasicBlock &BB) { |