diff options
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp | 3 |
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? |