You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by mf...@apache.org on 2007/07/25 15:05:18 UTC

svn commit: r559448 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp

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);