summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2003-05-31 20:01:37 +0000
committerTanya Lattner <tonic@nondot.org>2003-05-31 20:01:37 +0000
commit658c5bcdb27fe7e7936b91fc9ccc80738e3bfd22 (patch)
treef3ddddca7efa6f0419f161ba32342b32fcab1441 /include
parent39698a5e55ac4bc50de1104ce7bd2b380f110617 (diff)
downloadllvm-658c5bcdb27fe7e7936b91fc9ccc80738e3bfd22.tar.gz
llvm-658c5bcdb27fe7e7936b91fc9ccc80738e3bfd22.tar.bz2
llvm-658c5bcdb27fe7e7936b91fc9ccc80738e3bfd22.tar.xz
Fixed comment width, changed arg to be const, fixed indentation, removed unnecessary includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h
index f6e62d9566..8a6b69997c 100644
--- a/include/llvm/Transforms/Utils/Cloning.h
+++ b/include/llvm/Transforms/Utils/Cloning.h
@@ -92,10 +92,10 @@ void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
bool InlineFunction(CallInst *C);
-/// CloneTrace - Returns a copy of the specified trace. It removes internal phi
-/// nodes, copies the basic blocks, remaps variables, and returns a new vector
-/// of basic blocks (the cloned trace).
-///
-std::vector<BasicBlock *> CloneTrace(std::vector<BasicBlock*> &origTrace);
+/// CloneTrace - Returns a copy of the specified trace.
+/// It takes a vector of basic blocks clones the basic blocks, removes internal
+/// phi nodes, adds it to the same function as the original (although there is
+/// no jump to it) and returns the new vector of basic blocks.
+std::vector<BasicBlock *> CloneTrace(const std::vector<BasicBlock*> &origTrace);
#endif