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 | fa2d1ba102a74ecb0444957e0e5e1e99b064bfc3 (patch) | |
tree | 3864dfc8661f3ff9716f150dc64aa671c3b47fd2 /lib/Transforms/Scalar/Reassociate.cpp | |
parent | 84a6720fa162828ccf52531135afc2449662a2cd (diff) | |
download | external_llvm-fa2d1ba102a74ecb0444957e0e5e1e99b064bfc3.zip external_llvm-fa2d1ba102a74ecb0444957e0e5e1e99b064bfc3.tar.gz external_llvm-fa2d1ba102a74ecb0444957e0e5e1e99b064bfc3.tar.bz2 |
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/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 9ef4ea8..e6ffac2 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -31,7 +31,6 @@ #include "llvm/Pass.h" #include "llvm/Assembly/Writer.h" #include "llvm/Support/CFG.h" -#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ValueHandle.h" #include "llvm/Support/raw_ostream.h" @@ -47,7 +46,7 @@ STATISTIC(NumAnnihil, "Number of expr tree annihilated"); STATISTIC(NumFactor , "Number of multiplies factored"); namespace { - struct VISIBILITY_HIDDEN ValueEntry { + struct ValueEntry { unsigned Rank; Value *Op; ValueEntry(unsigned R, Value *O) : Rank(R), Op(O) {} @@ -72,7 +71,7 @@ static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) { #endif namespace { - class VISIBILITY_HIDDEN Reassociate : public FunctionPass { + class Reassociate : public FunctionPass { std::map<BasicBlock*, unsigned> RankMap; std::map<AssertingVH<>, unsigned> ValueRankMap; bool MadeChange; |