[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Cloning.h

Tanya Brethour tbrethou at cs.uiuc.edu
Sat May 31 15:02:00 PDT 2003


Changes in directory llvm/include/llvm/Transforms/Utils:

Cloning.h updated: 1.8 -> 1.9

---
Log message:

Fixed comment width, changed arg to be const, fixed indentation, removed unnecessary includes. 


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/Utils/Cloning.h
diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.8 llvm/include/llvm/Transforms/Utils/Cloning.h:1.9
--- llvm/include/llvm/Transforms/Utils/Cloning.h:1.8	Fri May 30 10:53:50 2003
+++ llvm/include/llvm/Transforms/Utils/Cloning.h	Sat May 31 15:01:37 2003
@@ -92,10 +92,10 @@
 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





More information about the llvm-commits mailing list