diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-16 07:02:28 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-01-16 07:02:28 +0000 |
commit | 2388a588bdf32610e18a66c0c6ef248087fd1cdc (patch) | |
tree | fcba18b7e9983bc8ec7e0fa707cb32e6d1f88aed /lib/ExecutionEngine | |
parent | 0b9d9970f0c2ffa7faec8f999eba0e0867d74ef5 (diff) |
Registry.h should not depend on CommandLine.h.
Split Support/Registry.h into two files so that we have less to
recompile every time CommandLine.h is changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/JIT/TargetSelect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/JIT/TargetSelect.cpp b/lib/ExecutionEngine/JIT/TargetSelect.cpp index ce646b2b57..98819c19b8 100644 --- a/lib/ExecutionEngine/JIT/TargetSelect.cpp +++ b/lib/ExecutionEngine/JIT/TargetSelect.cpp @@ -15,6 +15,7 @@ #include "JIT.h" #include "llvm/Module.h" #include "llvm/ModuleProvider.h" +#include "llvm/Support/RegistryParser.h" #include "llvm/Support/Streams.h" #include "llvm/Target/SubtargetFeature.h" #include "llvm/Target/TargetMachine.h" @@ -22,7 +23,7 @@ using namespace llvm; static cl::opt<const TargetMachineRegistry::entry*, false, - TargetMachineRegistry::Parser> + RegistryParser<TargetMachine> > MArch("march", cl::desc("Architecture to generate assembly for:")); static cl::opt<std::string> |