diff options
author | Devang Patel <dpatel@apple.com> | 2009-02-03 19:46:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-02-03 19:46:28 +0000 |
commit | 6268d69d7386bdd4ba1db5586feedeb0b7e6ddb6 (patch) | |
tree | 7e463c4705afcf4c03d32003d42b8d410d44a598 /include/llvm/CodeGen/MachineModuleInfo.h | |
parent | 9bc67da0a9982f2f7597d1d46cf18f079e4f8f98 (diff) |
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineModuleInfo.h')
-rw-r--r-- | include/llvm/CodeGen/MachineModuleInfo.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 1ff7ee7d56..75956058c4 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/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. |