Re-apply 84180 with the fixed test case.
[oota-llvm.git] / lib / Target / PIC16 / PIC16Subtarget.cpp
index 77448a794881f34149659d0b8a64f7f51b7e42b6..33fc3fb169945fcc39901e07e78e644ea7acc814 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "PIC16Subtarget.h"
-#include "PIC16.h"
 #include "PIC16GenSubtarget.inc"
+
 using namespace llvm;
 
-PIC16Subtarget::PIC16Subtarget(const TargetMachine &TM, const Module &M
-                             const std::string &FS) 
-  :IsPIC16Old(false)
+PIC16Subtarget::PIC16Subtarget(const std::string &TT, const std::string &FS
+                               bool Cooper)
+  :IsCooper(Cooper)
 {
   std::string CPU = "generic";