harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfur...@apache.org
Subject svn commit: r559448 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp
Date Wed, 25 Jul 2007 13:05:18 GMT
Author: mfursov
Date: Wed Jul 25 06:05:17 2007
New Revision: 559448

URL: http://svn.apache.org/viewvc?view=rev&rev=559448
Log:
Postfix for regression introduced by HARMONY-4514 commit.
Fixing assertion that became invalid for 64-bit platforms

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

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp?view=diff&rev=559448&r1=559447&r2=559448
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp Wed Jul 25
06:05:17 2007
@@ -585,7 +585,7 @@
     uint32 stackInfoSize = (uint32)stackInfo->getByteSize();
     uint32 gcInfoSize = (uint32)gcMap->getByteSize();
     uint32 bcMapSize = (uint32)bcMap->getByteSize(); // we should write at least the size
of map  in the info block
-    assert(bcMapSize >= sizeof(POINTER_SIZE_INT));   // so  bcMapSize should be more than
4 for ia32
+    assert(bcMapSize >= 4);   // minimum size for empty  BCMap for all platforms
 
     Byte* infoBlock = compIntf.allocateInfoBlock(stackInfoSize + gcInfoSize + bcMapSize);
     stackInfo->write(infoBlock);



Mime
View raw message