diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-27 19:58:47 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-01-27 19:58:47 +0000 |
| commit | 5c594c8ee90b90dba12a349265b89ced14d7d2ef (patch) | |
| tree | aa2bf0ea031999b19421e084aa7e6c58776a4318 /lib/Transforms/Utils/CloneFunction.cpp | |
| parent | d6c109934096e8ab68a045fdf55331863dc2b67c (diff) | |
| download | external_llvm-5c594c8ee90b90dba12a349265b89ced14d7d2ef.zip external_llvm-5c594c8ee90b90dba12a349265b89ced14d7d2ef.tar.gz external_llvm-5c594c8ee90b90dba12a349265b89ced14d7d2ef.tar.bz2 | |
Don't bother with sprintf, just pass the Twine through.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
| -rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index bd750cc..c80827d 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/lib/Transforms/Utils/CloneFunction.cpp @@ -33,7 +33,7 @@ using namespace llvm; // CloneBasicBlock - See comments in Cloning.h BasicBlock *llvm::CloneBasicBlock(const BasicBlock *BB, DenseMap<const Value*, Value*> &ValueMap, - const char *NameSuffix, Function *F, + const Twine &NameSuffix, Function *F, ClonedCodeInfo *CodeInfo) { BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F); if (BB->hasName()) NewBB->setName(BB->getName()+NameSuffix); |
