harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r731927 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp
Date Tue, 06 Jan 2009 12:36:59 GMT
Author: tellison
Date: Tue Jan  6 04:36:59 2009
New Revision: 731927

URL: http://svn.apache.org/viewvc?rev=731927&view=rev
Log:
Add braces to resolve ambiguity for g++ compiler.
See report http://markmail.org/message/e72i2kjk2h3ioaey

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp?rev=731927&r1=731926&r2=731927&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp Tue Jan
 6 04:36:59 2009
@@ -1260,10 +1260,12 @@
     {
         Opndx& opndz = graph.at(*i);
         if (opndz.ridx == opndx.ridx)
+        {
             if (opndz.opnd != NULL) //for operand nodes
                 alloc |= occupiedReg(opndx.opnd->getSize(), opndz.opnd->getSize(),
opndz.alloc);
             else //for color nodes
                 alloc |= occupiedReg(opndx.opnd->getSize(), OpndSize_32, opndz.alloc);
+        }
     }
 
     if ((alloc = opndx.avail & ~alloc) == 0)



Mime
View raw message