From: Chris Lattner Date: Sun, 14 Nov 2010 21:09:28 +0000 (+0000) Subject: fix PPC.h to not pull in TargetMachine.h X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8d63ba8260d26a256a082089e8fe8fcd38b5b949;p=oota-llvm.git fix PPC.h to not pull in TargetMachine.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119072 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h index 67e3a4ad677..b4644a18506 100644 --- a/lib/Target/PowerPC/PPC.h +++ b/lib/Target/PowerPC/PPC.h @@ -18,12 +18,12 @@ // GCC #defines PPC on Linux but we use it as our namespace name #undef PPC -#include "llvm/Target/TargetMachine.h" - namespace llvm { class PPCTargetMachine; class FunctionPass; class formatted_raw_ostream; + class JITCodeEmitter; + class Target; FunctionPass *createPPCBranchSelectionPass(); FunctionPass *createPPCISelDag(PPCTargetMachine &TM);