diff options
author | Reid Kleckner <rnk@google.com> | 2018-09-14 21:14:08 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-09-14 21:14:08 +0000 |
commit | b3d456a79ef822d6044473c776e38c679aa084ed (patch) | |
tree | 230a405f134a38643f20b4771cfbf546dc5738b8 /llvm/lib/CodeGen | |
parent | 4d68951e6d2c1062b97fa002fbe36db13e7f9888 (diff) | |
download | bcm5719-llvm-b3d456a79ef822d6044473c776e38c679aa084ed.tar.gz bcm5719-llvm-b3d456a79ef822d6044473c776e38c679aa084ed.zip |
[codeview] Remove dead code
llvm-svn: 342285
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 13 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 760833dba0c..61b683616d3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -1034,19 +1034,6 @@ CodeViewDebug::createDefRangeMem(uint16_t CVRegister, int Offset) { return DR; } -CodeViewDebug::LocalVarDefRange -CodeViewDebug::createDefRangeGeneral(uint16_t CVRegister, bool InMemory, - int Offset, bool IsSubfield, - uint16_t StructOffset) { - LocalVarDefRange DR; - DR.InMemory = InMemory; - DR.DataOffset = Offset; - DR.IsSubfield = IsSubfield; - DR.StructOffset = StructOffset; - DR.CVRegister = CVRegister; - return DR; -} - void CodeViewDebug::collectVariableInfoFromMFTable( DenseSet<InlinedEntity> &Processed) { const MachineFunction &MF = *Asm->MF; diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h index c466a33d0cc..6d7b97c5dd6 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h @@ -85,10 +85,6 @@ class LLVM_LIBRARY_VISIBILITY CodeViewDebug : public DebugHandlerBase { }; static LocalVarDefRange createDefRangeMem(uint16_t CVRegister, int Offset); - static LocalVarDefRange createDefRangeGeneral(uint16_t CVRegister, - bool InMemory, int Offset, - bool IsSubfield, - uint16_t StructOffset); /// Similar to DbgVariable in DwarfDebug, but not dwarf-specific. struct LocalVariable { |