remove dead member.

llvm-svn: 79764
This commit is contained in:
Chris Lattner 2009-08-22 20:50:18 +00:00
parent 7b26fce23e
commit df16c223da
2 changed files with 2 additions and 6 deletions

View File

@ -35,7 +35,7 @@ using namespace llvm;
PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM, PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
const MCAsmInfo *T, bool V) 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()); PTLI = static_cast<PIC16TargetLowering*>(TM.getTargetLowering());
PTAI = static_cast<const PIC16MCAsmInfo*>(T); PTAI = static_cast<const PIC16MCAsmInfo*>(T);
PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering(); PTOF = (PIC16TargetObjectFile*)&PTLI->getObjFileLowering();

View File

@ -16,8 +16,6 @@
#include "llvm/Analysis/DebugInfo.h" #include "llvm/Analysis/DebugInfo.h"
#include "llvm/Module.h" #include "llvm/Module.h"
#include "llvm/MC/MCAsmInfo.h"
#include <map>
namespace llvm { namespace llvm {
class MachineFunction; class MachineFunction;
@ -94,7 +92,6 @@ namespace llvm {
class PIC16DbgInfo { class PIC16DbgInfo {
formatted_raw_ostream &O; formatted_raw_ostream &O;
const MCAsmInfo *TAI;
std::string CurFile; std::string CurFile;
unsigned CurLine; unsigned CurLine;
@ -103,8 +100,7 @@ namespace llvm {
bool EmitDebugDirectives; bool EmitDebugDirectives;
public: public:
PIC16DbgInfo(formatted_raw_ostream &o, const MCAsmInfo *T) PIC16DbgInfo(formatted_raw_ostream &o): O(o) {
: O(o), TAI(T) {
CurFile = ""; CurFile = "";
CurLine = 0; CurLine = 0;
EmitDebugDirectives = false; EmitDebugDirectives = false;