summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-22 20:50:18 +0000
committerChris Lattner <sabre@nondot.org>2009-08-22 20:50:18 +0000
commit52283486bcf3fb016073aa9a1c68182aa6858942 (patch)
treefe7bb52b9734b618dea930d84e4b0e4642efd49b /lib
parentaf76e592c7f9deff0e55c13dbb4a34f07f1c7f64 (diff)
downloadllvm-52283486bcf3fb016073aa9a1c68182aa6858942.tar.gz
llvm-52283486bcf3fb016073aa9a1c68182aa6858942.tar.bz2
llvm-52283486bcf3fb016073aa9a1c68182aa6858942.tar.xz
remove dead member.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp2
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index d6e95561a2..8b1cee9e25 100644
--- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
+++ b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -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();
diff --git a/lib/Target/PIC16/PIC16DebugInfo.h b/lib/Target/PIC16/PIC16DebugInfo.h
index 1491716fc2..d4d3a21b51 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.h
+++ b/lib/Target/PIC16/PIC16DebugInfo.h
@@ -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;