remove dead member.
authorChris Lattner <sabre@nondot.org>
Sat, 22 Aug 2009 20:50:18 +0000 (20:50 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 22 Aug 2009 20:50:18 +0000 (20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79764 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
lib/Target/PIC16/PIC16DebugInfo.h

index d6e95561a2f1983a1ac630867315e2e7c38cb0c2..8b1cee9e258c90f08f0629203b99232b89ae5f9a 100644 (file)
@@ -35,7 +35,7 @@ using namespace llvm;
 
 PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
                                  const MCAsmInfo *T, bool V)
-: AsmPrinter(O, TM, T, V), DbgInfo(O, T) {
+: AsmPrinter(O, TM, T, V), DbgInfo(O) {
   PTLI = static_cast<PIC16TargetLowering*>(TM.getTargetLowering());
   PTAI = static_cast<const PIC16MCAsmInfo*>(T);
   PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering();
index 1491716fc2f29faddd6669f24feda0ebbdc8d7d8..d4d3a21b51aef49ebdb33fefa65768907f81b71c 100644 (file)
@@ -16,8 +16,6 @@
 
 #include "llvm/Analysis/DebugInfo.h"
 #include "llvm/Module.h"
-#include "llvm/MC/MCAsmInfo.h" 
-#include <map>
 
 namespace llvm {
   class MachineFunction;
@@ -94,7 +92,6 @@ namespace llvm {
 
   class PIC16DbgInfo {
     formatted_raw_ostream &O;
-    const MCAsmInfo *TAI;
     std::string CurFile;
     unsigned CurLine;
 
@@ -103,8 +100,7 @@ namespace llvm {
     bool EmitDebugDirectives;
 
   public:
-    PIC16DbgInfo(formatted_raw_ostream &o, const MCAsmInfo *T)
-      : O(o), TAI(T) {
+    PIC16DbgInfo(formatted_raw_ostream &o): O(o) {
       CurFile = "";
       CurLine = 0;
       EmitDebugDirectives = false;