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 | 2dd09dbdf7d3f687f2b157349be0bfb7711bb8a5 (patch) | |
| tree | 2476ef26c43a7dd2211bedba3041dc86f65ba272 /llvm/lib/Transforms/Scalar/Reassociate.cpp | |
| parent | cf768cd20235585f485316ace72eb7254bcfcf54 (diff) | |
| download | bcm5719-llvm-2dd09dbdf7d3f687f2b157349be0bfb7711bb8a5.tar.gz bcm5719-llvm-2dd09dbdf7d3f687f2b157349be0bfb7711bb8a5.zip | |
eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861
llvm-svn: 80766
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Reassociate.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/Reassociate.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index 9ef4ea8ffef..e6ffac251b7 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/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; |

