From 2fbfdcffd3e0cf41422aaa6c526c37cb02b81341 Mon Sep 17 00:00:00 2001 From: Chris Lattner <sabre@nondot.org> Date: Sun, 7 Apr 2002 20:49:59 +0000 Subject: Change references to the Method class to be references to the Function class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2144 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Scalar/DCE.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Transforms') diff --git a/include/llvm/Transforms/Scalar/DCE.h b/include/llvm/Transforms/Scalar/DCE.h index a8dcb59..35b929d 100644 --- a/include/llvm/Transforms/Scalar/DCE.h +++ b/include/llvm/Transforms/Scalar/DCE.h @@ -8,7 +8,7 @@ #ifndef LLVM_TRANSFORMS_SCALAR_DCE_H #define LLVM_TRANSFORMS_SCALAR_DCE_H -#include "llvm/Method.h" +#include "llvm/Function.h" #include "llvm/BasicBlock.h" class Pass; @@ -60,6 +60,6 @@ Pass *createAgressiveDCEPass(); // // WARNING: The entry node of a method may not be simplified. // -bool SimplifyCFG(Method::iterator &BBIt); +bool SimplifyCFG(Function::iterator &BBIt); #endif -- cgit v1.1