[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Brian Gaeke
gaeke at niobe.cs.uiuc.edu
Thu Aug 14 01:10:06 PDT 2003
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.19 -> 1.20
---
Log message:
Factory methods for function passes now return type FunctionPass *.
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.19 llvm/include/llvm/Transforms/Scalar.h:1.20
--- llvm/include/llvm/Transforms/Scalar.h:1.19 Wed Aug 13 13:18:11 2003
+++ llvm/include/llvm/Transforms/Scalar.h Thu Aug 14 01:09:28 2003
@@ -72,7 +72,7 @@
// index of [0]).
// This pass decomposes all multi-dimensional references in a function.
-Pass *createDecomposeMultiDimRefsPass();
+FunctionPass *createDecomposeMultiDimRefsPass();
// This function decomposes a single instance of such a reference.
// Return value: true if the instruction was replaced; false otherwise.
@@ -238,7 +238,7 @@
// These two passes convert malloc and free instructions to and from %malloc &
// %free function calls.
//
-Pass *createLowerAllocationsPass();
+FunctionPass *createLowerAllocationsPass();
Pass *createRaiseAllocationsPass();
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list