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 | 65b2f401afbaa4a87f0dd4a51cd1f177c7c15e40 (patch) | |
tree | bf7dbeeee3276bd08f44c5e9e96948d6b4e3dda1 /lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | |
parent | 799ffeede17c6fb0b00ad9cc33901fe90b12e21c (diff) | |
download | external_llvm-65b2f401afbaa4a87f0dd4a51cd1f177c7c15e40.zip external_llvm-65b2f401afbaa4a87f0dd4a51cd1f177c7c15e40.tar.gz external_llvm-65b2f401afbaa4a87f0dd4a51cd1f177c7c15e40.tar.bz2 |
Minor beautification: fold a couple of lines of code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 613c16d..ffb45d6 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/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 // |