From 6f7426ec2e46bb19cc9f9e75f1c355b35cf12d7d Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Tue, 19 Jun 2007 22:29:50 +0000 Subject: [PATCH] Inliner pass header file was moved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37665 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/InlineSimple.cpp | 3 ++- lib/Transforms/IPO/Inliner.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index 4cad5bb6e64..83cfe901a09 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "Inliner.h" +#define DEBUG_TYPE "inline" #include "llvm/CallingConv.h" #include "llvm/Instructions.h" #include "llvm/IntrinsicInst.h" @@ -21,6 +21,7 @@ #include "llvm/Support/CallSite.h" #include "llvm/Support/Compiler.h" #include "llvm/Transforms/IPO.h" +#include "llvm/Transforms/IPO/InlinerPass.h" #include using namespace llvm; diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index dd749c2ffc2..85893d706fe 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -14,12 +14,12 @@ //===----------------------------------------------------------------------===// #define DEBUG_TYPE "inline" -#include "Inliner.h" #include "llvm/Module.h" #include "llvm/Instructions.h" #include "llvm/Analysis/CallGraph.h" #include "llvm/Support/CallSite.h" #include "llvm/Target/TargetData.h" +#include "llvm/Transforms/IPO/InlinerPass.h" #include "llvm/Transforms/Utils/Cloning.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h"