From f4b546110c7b9f0c24be26cfe1eccdd570ee9fee Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 28 Jun 2006 22:08:15 +0000 Subject: Shrink libllvmgcc.dylib by another 23K git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28972 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/LowerSwitch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Transforms/Utils/LowerSwitch.cpp') diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 379a2e4570..396b507bbd 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -20,6 +20,7 @@ #include "llvm/Instructions.h" #include "llvm/Pass.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/Visibility.h" #include "llvm/ADT/Statistic.h" #include #include @@ -31,7 +32,7 @@ namespace { /// LowerSwitch Pass - Replace all SwitchInst instructions with chained branch /// instructions. Note that this cannot be a BasicBlock pass because it /// modifies the CFG! - class LowerSwitch : public FunctionPass { + class VISIBILITY_HIDDEN LowerSwitch : public FunctionPass { public: virtual bool runOnFunction(Function &F); -- cgit v1.2.3