summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-28 22:17:39 +0000
committerChris Lattner <sabre@nondot.org>2006-06-28 22:17:39 +0000
commite097e6f7c7cd38cee8b8ee40cfa21a131f28ab34 (patch)
treeda4302a1acb0eb1ea217521c216d56b06595a9c1 /llvm/lib/CodeGen/RegAllocSimple.cpp
parent4a4c7fe7fadc61781f4e38e9fe2339a16c4e9013 (diff)
downloadbcm5719-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/RegAllocSimple.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocSimple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocSimple.cpp b/llvm/lib/CodeGen/RegAllocSimple.cpp
index 4e6e1d2705e..fc90dd1b905 100644
--- a/llvm/lib/CodeGen/RegAllocSimple.cpp
+++ b/llvm/lib/CodeGen/RegAllocSimple.cpp
@@ -23,6 +23,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>
@@ -32,7 +33,7 @@ namespace {
Statistic<> NumStores("ra-simple", "Number of stores added");
Statistic<> NumLoads ("ra-simple", "Number of loads added");
- class RegAllocSimple : public MachineFunctionPass {
+ class VISIBILITY_HIDDEN RegAllocSimple : public MachineFunctionPass {
MachineFunction *MF;
const TargetMachine *TM;
const MRegisterInfo *RegInfo;
OpenPOWER on IntegriCloud