From: Chris Lattner Date: Tue, 13 Sep 2005 22:03:06 +0000 (+0000) Subject: move the #include for the generated code into the isel class body so we X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af165385112037cb942e94ea562a67990b7d6220;p=oota-llvm.git move the #include for the generated code into the isel class body so we can use/define class methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23339 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index e342d71921e..df742464306 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -97,10 +97,12 @@ namespace { virtual const char *getPassName() const { return "PowerPC DAG->DAG Pattern Instruction Selection"; } + +// Include the pieces autogenerated from the target description. +#include "PPC32GenDAGISel.inc" }; } -#include "PPC32GenDAGISel.inc" /// getGlobalBaseReg - Output the instructions required to put the /// base address to use for accessing globals into a register.