diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-28 22:17:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-28 22:17:39 +0000 |
commit | e097e6f7c7cd38cee8b8ee40cfa21a131f28ab34 (patch) | |
tree | da4302a1acb0eb1ea217521c216d56b06595a9c1 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | 4a4c7fe7fadc61781f4e38e9fe2339a16c4e9013 (diff) | |
download | bcm5719-llvm-e097e6f7c7cd38cee8b8ee40cfa21a131f28ab34.tar.gz bcm5719-llvm-e097e6f7c7cd38cee8b8ee40cfa21a131f28ab34.zip |
Shave another 27K off libllvmgcc.dylib with visibility hidden
llvm-svn: 28973
Diffstat (limited to 'llvm/lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <iostream> @@ -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 |