summaryrefslogtreecommitdiff
path: root/lib/CodeGen/GCStrategy.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
commit6726b6d75a8b679068a58cb954ba97cf9d1690ba (patch)
tree9e901e44f4933e507d7f8fc095cce1d9cdcc72ad /lib/CodeGen/GCStrategy.cpp
parenta1e1446056d54d116908fa1bba02998c92905464 (diff)
downloadllvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.gz
llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.bz2
llvm-6726b6d75a8b679068a58cb954ba97cf9d1690ba.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCStrategy.cpp')
-rw-r--r--lib/CodeGen/GCStrategy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/GCStrategy.cpp b/lib/CodeGen/GCStrategy.cpp
index 6d0de41e2c..aa5c0a183b 100644
--- a/lib/CodeGen/GCStrategy.cpp
+++ b/lib/CodeGen/GCStrategy.cpp
@@ -39,7 +39,7 @@ namespace {
/// llvm.gcwrite intrinsics, replacing them with simple loads and stores as
/// directed by the GCStrategy. It also performs automatic root initialization
/// and custom intrinsic lowering.
- class VISIBILITY_HIDDEN LowerIntrinsics : public FunctionPass {
+ class LowerIntrinsics : public FunctionPass {
static bool NeedsDefaultLoweringPass(const GCStrategy &C);
static bool NeedsCustomLoweringPass(const GCStrategy &C);
static bool CouldBecomeSafePoint(Instruction *I);
@@ -63,7 +63,7 @@ namespace {
/// function representation to identify safe points for the garbage collector
/// in the machine code. It inserts labels at safe points and populates a
/// GCMetadata record for each function.
- class VISIBILITY_HIDDEN MachineCodeAnalysis : public MachineFunctionPass {
+ class MachineCodeAnalysis : public MachineFunctionPass {
const TargetMachine *TM;
GCFunctionInfo *FI;
MachineModuleInfo *MMI;