diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:08:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:08:27 +0000 |
commit | 70e60cbd4dd59b61e3e9d0a55f24cf92b0dc8724 (patch) | |
tree | 2bf3f9e800864c8f2e76a41aa932e31c09266422 /lib/CodeGen/InstrSched/InstrScheduling.cpp | |
parent | 59dcbf9c037ba3f03efdc7371514ced1a63d6c55 (diff) |
Move debug options out of header files so that the header does not have
to #include CommandLine.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/InstrScheduling.cpp')
-rw-r--r-- | lib/CodeGen/InstrSched/InstrScheduling.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp index 0a6d1ce353..2d2bc14726 100644 --- a/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -13,13 +13,14 @@ #include "llvm/Target/TargetMachine.h" #include "llvm/BasicBlock.h" #include "llvm/Instruction.h" +#include "Support/CommandLine.h" #include <algorithm> using std::cerr; using std::vector; -//************************* External Data Types *****************************/ +SchedDebugLevel_t SchedDebugLevel; -cl::Enum<enum SchedDebugLevel_t> SchedDebugLevel("dsched", cl::Hidden, +static cl::Enum<enum SchedDebugLevel_t> Opt(SchedDebugLevel,"dsched",cl::Hidden, "enable instruction scheduling debugging information", clEnumValN(Sched_NoDebugInfo, "n", "disable debug output"), clEnumValN(Sched_Disable, "off", "disable instruction scheduling"), |