move the #include for the generated code into the isel class body so we
authorChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 22:03:06 +0000 (22:03 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 13 Sep 2005 22:03:06 +0000 (22:03 +0000)
can use/define class methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23339 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelDAGToDAG.cpp

index e342d71921e6dd2c8d467f4c3c2331f77f55941f..df74246430602071ca489476b83723b2addd5449 100644 (file)
@@ -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.