diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-16 17:18:20 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-16 17:18:20 +0000 |
commit | 5ba3e4d75d37d4cb145ebd01c2b0b2fec0db27c0 (patch) | |
tree | 34ae479945177cecb3c5aaa8410b93a61604748f /lib/CodeGen/LiveVariables.cpp | |
parent | a649ab542d96f1e49122c929c87821a90b497b07 (diff) | |
download | external_llvm-5ba3e4d75d37d4cb145ebd01c2b0b2fec0db27c0.zip external_llvm-5ba3e4d75d37d4cb145ebd01c2b0b2fec0db27c0.tar.gz external_llvm-5ba3e4d75d37d4cb145ebd01c2b0b2fec0db27c0.tar.bz2 |
Remove unused functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveVariables.cpp')
-rw-r--r-- | lib/CodeGen/LiveVariables.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/CodeGen/LiveVariables.cpp b/lib/CodeGen/LiveVariables.cpp index 1d935b2..375307b 100644 --- a/lib/CodeGen/LiveVariables.cpp +++ b/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(); |