aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-08-16 17:18:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-08-16 17:18:20 +0000
commit5f72a04ba7649f28731328463aeb045a171ae8ef (patch)
tree4807adf96cc1280ee652189a85eacfbbf895f73e /llvm/lib/CodeGen/LiveVariables.cpp
parentb7f872197a7ecf0a6376357d00a8b8a3ae75fe8c (diff)
downloadllvm-5f72a04ba7649f28731328463aeb045a171ae8ef.zip
llvm-5f72a04ba7649f28731328463aeb045a171ae8ef.tar.gz
llvm-5f72a04ba7649f28731328463aeb045a171ae8ef.tar.bz2
Remove unused functions.
llvm-svn: 111156
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveVariables.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp
index 1d935b2..375307b 100644
--- a/llvm/lib/CodeGen/LiveVariables.cpp
+++ b/llvm/lib/CodeGen/LiveVariables.cpp
@@ -483,21 +483,6 @@ void LiveVariables::UpdatePhysRegDefs(MachineInstr *MI,
}
}
-namespace {
- struct RegSorter {
- const TargetRegisterInfo *TRI;
-
- RegSorter(const TargetRegisterInfo *tri) : TRI(tri) { }
- bool operator()(unsigned A, unsigned B) {
- if (TRI->isSubRegister(A, B))
- return true;
- else if (TRI->isSubRegister(B, A))
- return false;
- return A < B;
- }
- };
-}
-
bool LiveVariables::runOnMachineFunction(MachineFunction &mf) {
MF = &mf;
MRI = &mf.getRegInfo();