You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by va...@apache.org on 2007/03/19 10:55:58 UTC

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

Author: varlax
Date: Mon Mar 19 02:55:57 2007
New Revision: 519890

URL: http://svn.apache.org/viewvc?view=rev&rev=519890
Log:
Additional fix to HARMONY-1912

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

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp?view=diff&rev=519890&r1=519889&r2=519890
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp Mon Mar 19 02:55:57 2007
@@ -75,6 +75,10 @@
     StackInfo stackInfo;
 
     Byte* infoBlock = method->getInfoBlock();
+    if (infoBlock == NULL) {
+        assert(0 && "missing info block for method");
+        return false;
+    }
     POINTER_SIZE_INT stackInfoSize = stackInfo.readByteSize(infoBlock);
     POINTER_SIZE_INT gcMapSize = GCMap::readByteSize(infoBlock + stackInfoSize);