harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r540960 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp
Date Wed, 23 May 2007 14:31:25 GMT
Author: gshimansky
Date: Wed May 23 07:31:24 2007
New Revision: 540960

URL: http://svn.apache.org/viewvc?view=rev&rev=540960
Log:
Fixed compilation on gcc 4.1.1 after HARMONY-3874 was committed. The redundant initialization
of helperArgs causes compiler to report a warning


Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp?view=diff&rev=540960&r1=540959&r2=540960
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/IRBuilder.cpp Wed May 23 07:31:24
2007
@@ -1347,7 +1347,7 @@
         Opnd* clsOpnd = createTypeOpnd(ch);
         Opnd* idxOpnd = genLdConstant((int)cpIndex);
         uint32 numHelperArgs = 0;
-        Opnd** helperArgs = helperArgs = new(mm)Opnd*[3];
+        Opnd** helperArgs = new(mm)Opnd*[3];
         helperArgs[0] = clsOpnd;
         helperArgs[1] = idxOpnd;
         helperArgs[2] = NULL;



Mime
View raw message