summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-10-25 06:33:48 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-10-25 06:33:48 +0000
commit02d5f77d262152db2eb82164fd4246d60217024a (patch)
treeaa5d3d13f0e945f7f9921e18f20f79b809f01140 /llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
parent13b8b56dd42f3a2e3419151653473be0f05129e5 (diff)
downloadbcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.tar.gz
bcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.zip
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
Diffstat (limited to 'llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
index 9ca06bd180a..bacd9c0d6ba 100644
--- a/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
+++ b/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
@@ -100,7 +100,7 @@ namespace {
struct AllocaInfo;
// Data package used by RenamePass()
- class VISIBILITY_HIDDEN RenamePassData {
+ class RenamePassData {
public:
typedef std::vector<Value *> ValVector;
@@ -123,7 +123,7 @@ namespace {
///
/// This functionality is important because it avoids scanning large basic
/// blocks multiple times when promoting many allocas in the same block.
- class VISIBILITY_HIDDEN LargeBlockInfo {
+ class LargeBlockInfo {
/// InstNumbers - For each instruction that we track, keep the index of the
/// instruction. The index starts out as the number of the instruction from
/// the start of the block.
@@ -170,7 +170,7 @@ namespace {
}
};
- struct VISIBILITY_HIDDEN PromoteMem2Reg {
+ struct PromoteMem2Reg {
/// Allocas - The alloca instructions being promoted.
///
std::vector<AllocaInst*> Allocas;
OpenPOWER on IntegriCloud