[llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jul 31 03:02:09 PDT 2004
Changes in directory llvm/lib/Transforms/Utils:
BreakCriticalEdges.cpp updated: 1.21 -> 1.22
---
Log message:
Expose this as a functionpass
---
Diffs of the changes: (+3 -1)
Index: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff -u llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.21 llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.22
--- llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp:1.21 Thu Jul 29 12:24:20 2004
+++ llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp Sat Jul 31 05:01:58 2004
@@ -48,7 +48,9 @@
// Publically exposed interface to pass...
const PassInfo *llvm::BreakCriticalEdgesID = X.getPassInfo();
-Pass *llvm::createBreakCriticalEdgesPass() { return new BreakCriticalEdges(); }
+FunctionPass *llvm::createBreakCriticalEdgesPass() {
+ return new BreakCriticalEdges();
+}
// runOnFunction - Loop over all of the edges in the CFG, breaking critical
// edges as they are found.
More information about the llvm-commits
mailing list