diff options
author | Chris Lattner <sabre@nondot.org> | 2009-12-31 03:02:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-12-31 03:02:08 +0000 |
commit | f0908a351ab123a1ad7b145a5e4bc28430be0d94 (patch) | |
tree | b11b59f7d7c69a969638e809767eaa5864fd3867 /lib/Transforms/Utils/CloneFunction.cpp | |
parent | 6e7f3b39efdcd023e4763695907daafd6a6f609a (diff) |
fix Analysis/DebugInfo.h to not include Metadata.h. Do this
by moving one method out of line and eliminating redundant checks
from other methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 032a9e3a54..c287747b91 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -21,6 +21,7 @@ #include "llvm/GlobalVariable.h" #include "llvm/Function.h" #include "llvm/LLVMContext.h" +#include "llvm/Metadata.h" #include "llvm/Support/CFG.h" #include "llvm/Transforms/Utils/ValueMapper.h" #include "llvm/Analysis/ConstantFolding.h" |