[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Sun May 23 16:18:17 PDT 2004
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.39 -> 1.40
---
Log message:
Add a new prototype
---
Diffs of the changes: (+11 -2)
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.39 llvm/include/llvm/Transforms/Scalar.h:1.40
--- llvm/include/llvm/Transforms/Scalar.h:1.39 Mon Apr 19 01:28:37 2004
+++ llvm/include/llvm/Transforms/Scalar.h Sun May 23 16:16:13 2004
@@ -279,11 +279,20 @@
// handling mechanisms. Note that after this pass runs the CFG is not entirely
// accurate (exceptional control flow edges are not correct anymore) so only
// very simple things should be done after the lowerinvoke pass has run (like
-// generation of native code). This should not be used as a general purpose "my
-// LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering pass.
+// generation of native code). This should *NOT* be used as a general purpose
+// "my LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering
+// pass.
//
FunctionPass *createLowerInvokePass();
extern const PassInfo *LowerInvokePassID;
+
+
+//===----------------------------------------------------------------------===//
+/// createLowerGCPass - This function returns an instance of the "lowergc"
+/// pass, which lowers garbage collection intrinsics to normal LLVM code.
+///
+FunctionPass *createLowerGCPass();
+
//===----------------------------------------------------------------------===//
//
More information about the llvm-commits
mailing list