From e097e6f7c7cd38cee8b8ee40cfa21a131f28ab34 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 28 Jun 2006 22:17:39 +0000 Subject: Shave another 27K off libllvmgcc.dylib with visibility hidden llvm-svn: 28973 --- llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp') diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 9e98a976f03..fa3ceff7597 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -38,6 +38,7 @@ #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/Visibility.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include @@ -51,7 +52,8 @@ namespace { Statistic<> NumConvertedTo3Addr("twoaddressinstruction", "Number of instructions promoted to 3-address"); - struct TwoAddressInstructionPass : public MachineFunctionPass { + struct VISIBILITY_HIDDEN TwoAddressInstructionPass + : public MachineFunctionPass { virtual void getAnalysisUsage(AnalysisUsage &AU) const; /// runOnMachineFunction - pass entry point -- cgit v1.2.3