diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-28 22:08:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-28 22:08:15 +0000 |
commit | f4b546110c7b9f0c24be26cfe1eccdd570ee9fee (patch) | |
tree | 39ba6318dba9944e7840f5e0c5208c56d66cd8bc /lib/Transforms/Utils/Mem2Reg.cpp | |
parent | 2a41a98fb70923e2d6780220eb225ac0e8b4ff36 (diff) |
Shrink libllvmgcc.dylib by another 23K
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Mem2Reg.cpp')
-rw-r--r-- | lib/Transforms/Utils/Mem2Reg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/Mem2Reg.cpp b/lib/Transforms/Utils/Mem2Reg.cpp index 5e5d67b305..d1b2c50796 100644 --- a/lib/Transforms/Utils/Mem2Reg.cpp +++ b/lib/Transforms/Utils/Mem2Reg.cpp @@ -20,12 +20,13 @@ #include "llvm/Function.h" #include "llvm/Target/TargetData.h" #include "llvm/ADT/Statistic.h" +#include "llvm/Support/Visibility.h" using namespace llvm; namespace { Statistic<> NumPromoted("mem2reg", "Number of alloca's promoted"); - struct PromotePass : public FunctionPass { + struct VISIBILITY_HIDDEN PromotePass : public FunctionPass { // runOnFunction - To run this pass, first we calculate the alloca // instructions that are safe for promotion, then we promote each one. // |