harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r519890 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32RuntimeInterface.cpp
Date Mon, 19 Mar 2007 09:55:58 GMT
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);
 



Mime
View raw message