summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-02-03 19:46:28 +0000
committerDevang Patel <dpatel@apple.com>2009-02-03 19:46:28 +0000
commit9c7c0db37a39d5e025e60cde2f8ff2f884fe3948 (patch)
treedc6ae7c3311d8d7a2962694120e10f0397db7e36
parent576baa4adf248a127d3d5bce92f80c8e9ffeadfc (diff)
downloadbcm5719-llvm-9c7c0db37a39d5e025e60cde2f8ff2f884fe3948.tar.gz
bcm5719-llvm-9c7c0db37a39d5e025e60cde2f8ff2f884fe3948.zip
Remove dead code.
llvm-svn: 63653
-rw-r--r--llvm/include/llvm/CodeGen/MachineModuleInfo.h28
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp1
2 files changed, 0 insertions, 29 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
index 1ff7ee7d567..75956058c45 100644
--- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h
@@ -55,25 +55,6 @@ class PointerType;
class StructType;
//===----------------------------------------------------------------------===//
-/// SourceLineInfo - This class is used to record source line correspondence.
-///
-class SourceLineInfo {
- unsigned Line; // Source line number.
- unsigned Column; // Source column.
- unsigned SourceID; // Source ID number.
- unsigned LabelID; // Label in code ID number.
-public:
- SourceLineInfo(unsigned L, unsigned C, unsigned S, unsigned I)
- : Line(L), Column(C), SourceID(S), LabelID(I) {}
-
- // Accessors
- unsigned getLine() const { return Line; }
- unsigned getColumn() const { return Column; }
- unsigned getSourceID() const { return SourceID; }
- unsigned getLabelID() const { return LabelID; }
-};
-
-//===----------------------------------------------------------------------===//
/// LandingPadInfo - This structure is used to retain landing pad info for
/// the current function.
///
@@ -99,9 +80,6 @@ struct LandingPadInfo {
///
class MachineModuleInfo : public ImmutablePass {
private:
- // Lines - List of of source line correspondence.
- std::vector<SourceLineInfo> Lines;
-
// LabelIDList - One entry per assigned label. Normally the entry is equal to
// the list index(+1). If the entry is zero then the label has been deleted.
// Any other value indicates the label has been deleted by is mapped to
@@ -217,12 +195,6 @@ public:
return LabelID ? LabelIDList[LabelID - 1] : 0;
}
- /// getSourceLines - Return a vector of source lines.
- ///
- const std::vector<SourceLineInfo> &getSourceLines() const {
- return Lines;
- }
-
/// getFrameMoves - Returns a reference to a list of moves done in the current
/// function's prologue. Used to construct frame maps for debug and exception
/// handling comsumers.
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index 1c29c7fed35..4bbc4dd985a 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -36,7 +36,6 @@ char MachineModuleInfo::ID = 0;
MachineModuleInfo::MachineModuleInfo()
: ImmutablePass(&ID)
-, Lines()
, LabelIDList()
, FrameMoves()
, LandingPads()
OpenPOWER on IntegriCloud