Add register-reuse to frame-index register scavenging. When a target uses
[oota-llvm.git] / lib / Target / PIC16 / PIC16Subtarget.cpp
index b7ebf94bc163a2526e7bc0bc9863a3c8153c0c90..33fc3fb169945fcc39901e07e78e644ea7acc814 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#include "PIC16.h"
 #include "PIC16Subtarget.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";