summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-04 18:12:00 +0000
committerChris Lattner <sabre@nondot.org>2010-09-04 18:12:00 +0000
commit65b48b5dfc6632816313272ce2e386389049b9ca (patch)
tree242db4fc1c6e50b59c8927796c4b6147ab76f38b /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent55118e722411d8081bca5d98c79193bce0925ca3 (diff)
downloadbcm5719-llvm-65b48b5dfc6632816313272ce2e386389049b9ca.tar.gz
bcm5719-llvm-65b48b5dfc6632816313272ce2e386389049b9ca.zip
zap dead code.
llvm-svn: 113073
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineModuleInfo.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/llvm/lib/CodeGen/MachineModuleInfo.cpp b/llvm/lib/CodeGen/MachineModuleInfo.cpp
index b647a4dcc53..3482dde1acc 100644
--- a/llvm/lib/CodeGen/MachineModuleInfo.cpp
+++ b/llvm/lib/CodeGen/MachineModuleInfo.cpp
@@ -562,20 +562,3 @@ unsigned MachineModuleInfo::getPersonalityIndex() const {
// in the zero index.
return 0;
}
-
-namespace {
- /// VariableDebugSorter - Comparison to sort the VariableDbgInfo map
- /// by source location, to avoid depending on the arbitrary order that
- /// instruction selection visits variables in.
- struct VariableDebugSorter {
- bool operator()(const MachineModuleInfo::VariableDbgInfoMapTy::value_type &A,
- const MachineModuleInfo::VariableDbgInfoMapTy::value_type &B)
- const {
- if (A.second.second.getLine() != B.second.second.getLine())
- return A.second.second.getLine() < B.second.second.getLine();
- if (A.second.second.getCol() != B.second.second.getCol())
- return A.second.second.getCol() < B.second.second.getCol();
- return false;
- }
- };
-}
OpenPOWER on IntegriCloud