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/RegAllocLinearScan.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/RegAllocLinearScan.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 0fb8f3d1363..f12424c6b33 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -26,6 +26,7 @@ #include "llvm/ADT/Statistic.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/Visibility.h" #include <algorithm> #include <cmath> #include <iostream> @@ -43,7 +44,7 @@ namespace { static unsigned numIterations = 0; static unsigned numIntervals = 0; - struct RA : public MachineFunctionPass { + struct VISIBILITY_HIDDEN RA : public MachineFunctionPass { typedef std::pair<LiveInterval*, LiveInterval::iterator> IntervalPtr; typedef std::vector<IntervalPtr> IntervalPtrs; private: |