harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r495215 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp
Date Thu, 11 Jan 2007 13:39:51 GMT
Author: varlax
Date: Thu Jan 11 05:39:48 2007
New Revision: 495215

URL: http://svn.apache.org/viewvc?view=rev&rev=495215
Log:
Fixed HARMONY-2969 [drlvm] patch to build jitrino in debug mode with gcc 4.1.0
Tested on SLES9@ia32, SLES9@x64

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

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp?view=diff&rev=495215&r1=495214&r2=495215
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32Inst.cpp Thu Jan 11
05:39:48 2007
@@ -89,7 +89,7 @@
 void Opnd::setMemOpndSubOpnd(MemOpndSubOpndKind so, Opnd * opnd)
 {
     assert(opnd);
-    assert((so != MemOpndSubOpndKind_Displacement)  || (abs((int32)opnd->getImmValue())
<= 0xffffffff));
+    assert((so != MemOpndSubOpndKind_Displacement)  || ((uint64)abs((int64)opnd->getImmValue())
<= 0xffffffff));
     assert((so != MemOpndSubOpndKind_Scale)         || ((uint64)opnd->getImmValue() <=
8));
     assert(memOpndKind!=MemOpndKind_Null);
     memOpndSubOpnds[so]=opnd;



Mime
View raw message