diff options
| author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-02 01:24:00 +0000 |
|---|---|---|
| committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-02 01:24:00 +0000 |
| commit | 1fce4cfa9547a28494f942912639d5560102e002 (patch) | |
| tree | 70d7e826597b9e2912f44750a346b9668e67e7a1 /llvm/lib/CodeGen | |
| parent | cf952cb50446522ddf4d20b85fe4198efa9166b2 (diff) | |
| download | bcm5719-llvm-1fce4cfa9547a28494f942912639d5560102e002.tar.gz bcm5719-llvm-1fce4cfa9547a28494f942912639d5560102e002.zip | |
Minor beautification: fold a couple of lines of code.
llvm-svn: 7054
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 613c16db751..ffb45d64130 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -200,11 +200,10 @@ void PhyRegAlloc::setCallInterferences(const MachineInstr *MInst, if (DEBUG_RA >= RA_DEBUG_Interference) cerr << "\n For call inst: " << *MInst; - ValueSet::const_iterator LIt = LVSetAft->begin(); - // for each live var in live variable set after machine inst // - for ( ; LIt != LVSetAft->end(); ++LIt) { + for (ValueSet::const_iterator LIt = LVSetAft->begin(), LEnd = LVSetAft->end(); + LIt != LEnd; ++LIt) { // get the live range corresponding to live var // |

