mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
zap dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113073 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user