diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-09-27 07:38:41 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-09-27 07:38:41 +0000 |
commit | 42fb7452dfbc20c31c97c2d88ef5e6019323377a (patch) | |
tree | 9916e929fa89b09b0203aa80e5139da35bb63dae /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | b56e1ab03368a470159bb7b31c4d96bc016a1cda (diff) | |
download | bcm5719-llvm-42fb7452dfbc20c31c97c2d88ef5e6019323377a.tar.gz bcm5719-llvm-42fb7452dfbc20c31c97c2d88ef5e6019323377a.zip |
Instruction::clone does not need to take an LLVMContext&. Remove that and
update all the callers.
llvm-svn: 82889
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 4b133fd5e89..f9efc34dd95 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/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; } |