summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-31 03:02:08 +0000
committerChris Lattner <sabre@nondot.org>2009-12-31 03:02:08 +0000
commit6a0ca6aa908a324cd9b8a9407c62890b688069e3 (patch)
tree83eeb034e30551b902cb4ffdebe5a002b8caec18 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parentcac432c8464736112a6e21296c7d6b1f7faabdf0 (diff)
downloadbcm5719-llvm-6a0ca6aa908a324cd9b8a9407c62890b688069e3.tar.gz
bcm5719-llvm-6a0ca6aa908a324cd9b8a9407c62890b688069e3.zip
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. llvm-svn: 92337
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 032a9e3a546..c287747b91d 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/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"
OpenPOWER on IntegriCloud