aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-09-27 07:38:41 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-09-27 07:38:41 +0000
commitc94270c382320cb3fe9c4dc7bf31d56c94e9643d (patch)
tree4c1c1178faea69663c9960feb71cf5c5e5e39ff4 /lib/Transforms/Utils/InlineFunction.cpp
parentebb9633af0245a3eaf03d2a9f4ceb6375cc8769e (diff)
downloadexternal_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.zip
external_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.tar.gz
external_llvm-c94270c382320cb3fe9c4dc7bf31d56c94e9643d.tar.bz2
Instruction::clone does not need to take an LLVMContext&. Remove that and
update all the callers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 4b133fd..f9efc34 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -374,7 +374,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD,
BI != BE; ++BI) {
if (DbgStopPointInst *DSPI = dyn_cast<DbgStopPointInst>(BI)) {
if (DbgRegionEndInst *NewDREI =
- dyn_cast<DbgRegionEndInst>(DREI->clone(Context)))
+ dyn_cast<DbgRegionEndInst>(DREI->clone()))
NewDREI->insertAfter(DSPI);
break;
}