[llvm-commits] [llvm] r79764 - in /llvm/trunk/lib/Target/PIC16: AsmPrinter/PIC16AsmPrinter.cpp PIC16DebugInfo.h

Chris Lattner sabre at nondot.org
Sat Aug 22 13:50:18 PDT 2009


Author: lattner
Date: Sat Aug 22 15:50:18 2009
New Revision: 79764

URL: http://llvm.org/viewvc/llvm-project?rev=79764&view=rev
Log:
remove dead member.

Modified:
    llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
    llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h

Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp?rev=79764&r1=79763&r2=79764&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp Sat Aug 22 15:50:18 2009
@@ -35,7 +35,7 @@
 
 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();

Modified: llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h?rev=79764&r1=79763&r2=79764&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.h Sat Aug 22 15:50:18 2009
@@ -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 @@
 
   class PIC16DbgInfo {
     formatted_raw_ostream &O;
-    const MCAsmInfo *TAI;
     std::string CurFile;
     unsigned CurLine;
 
@@ -103,8 +100,7 @@
     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; 





More information about the llvm-commits mailing list