summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.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
commitf8c68f694c25b1ae8c0e5adb2a19432cb405d232 (patch)
tree0094d1f3f74481e132af7d48d36ca3e2a1d306ad /lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
parentf4b546110c7b9f0c24be26cfe1eccdd570ee9fee (diff)
downloadllvm-f8c68f694c25b1ae8c0e5adb2a19432cb405d232.tar.gz
llvm-f8c68f694c25b1ae8c0e5adb2a19432cb405d232.tar.bz2
llvm-f8c68f694c25b1ae8c0e5adb2a19432cb405d232.tar.xz
Shave another 27K off libllvmgcc.dylib with visibility hidden
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
index c6ea68e95a..cc98eab378 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
@@ -20,6 +20,7 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/Visibility.h"
#include <algorithm>
#include <iostream>
using namespace llvm;
@@ -389,7 +390,7 @@ public:
///
/// ScheduleDAGSimple - Simple two pass scheduler.
///
-class ScheduleDAGSimple : public ScheduleDAG {
+class VISIBILITY_HIDDEN ScheduleDAGSimple : public ScheduleDAG {
private:
bool NoSched; // Just do a BFS schedule, nothing fancy
bool NoItins; // Don't use itineraries?