From 5cf6161e204d38a51ba422dbc28a6efbfe52a03d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Jul 2002 17:58:42 +0000 Subject: [PATCH] Pass creator requires a TargetData member llvm-svn: 3007 --- include/llvm/Transforms/RaisePointerReferences.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Transforms/RaisePointerReferences.h b/include/llvm/Transforms/RaisePointerReferences.h index ec2ce319a31..f16d3d7ef93 100644 --- a/include/llvm/Transforms/RaisePointerReferences.h +++ b/include/llvm/Transforms/RaisePointerReferences.h @@ -10,11 +10,12 @@ #define LLVM_TRANSFORMS_LEVELCHANGE_H class Pass; +class TargetData; // RaisePointerReferences - Try to eliminate as many pointer arithmetic // expressions as possible, by converting expressions to use getelementptr and // friends. // -Pass *createRaisePointerReferencesPass(); +Pass *createRaisePointerReferencesPass(const TargetData &TD); #endif