harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r542427 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp
Date Tue, 29 May 2007 06:38:23 GMT
Author: varlax
Date: Mon May 28 23:38:22 2007
New Revision: 542427

URL: http://svn.apache.org/viewvc?view=rev&rev=542427
Log:
Applied partial fix to HARMONY-3868  [drlvm][jit] Jitrino crashes on SPECjAppServer2004-1.08
(debug mode) with server.emconf

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp?view=diff&rev=542427&r1=542426&r2=542427
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp Mon May
28 23:38:22 2007
@@ -1466,11 +1466,12 @@
     {
     case 'L': {
             if (!typeManager.isLazyResolutionMode()) {
-                typeManager.getNullObjectType();
+                retType = typeManager.getNullObjectType();
+            } else {
+                retType = ci.getTypeFromDescriptor(enclClass, origSig);
+                //in lazy resolution mode retType is already valid array type
+                arrayIsWrapped = true;
             }
-            retType = ci.getTypeFromDescriptor(enclClass, origSig);
-            //in lazy resolution mode retType is already valid array type
-            arrayIsWrapped = true;
         }
         break;
     case 'B':



Mime
View raw message