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 | 5f72a04ba7649f28731328463aeb045a171ae8ef (patch) | |
| tree | 4807adf96cc1280ee652189a85eacfbbf895f73e /llvm/lib/CodeGen/LiveVariables.cpp | |
| parent | b7f872197a7ecf0a6376357d00a8b8a3ae75fe8c (diff) | |
| download | bcm5719-llvm-5f72a04ba7649f28731328463aeb045a171ae8ef.tar.gz bcm5719-llvm-5f72a04ba7649f28731328463aeb045a171ae8ef.zip | |
Remove unused functions.
llvm-svn: 111156
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveVariables.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index 1d935b20739..375307b973a 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(); |

