harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfur...@apache.org
Subject svn commit: r573498 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp
Date Fri, 07 Sep 2007 08:17:21 GMT
Author: mfursov
Date: Fri Sep  7 01:17:20 2007
New Revision: 573498

URL: http://svn.apache.org/viewvc?rev=573498&view=rev
Log:
Fix for regression introduced by r573295 (HARMONY-4747 patch)


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?rev=573498&r1=573497&r2=573498&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/translator/java/JavaLabelPrepass.cpp Fri Sep
 7 01:17:20 2007
@@ -1416,7 +1416,11 @@
     {
     case 'L': 
         {
-            resType = ci.getTypeFromDescriptor(enclClass, descriptorString);
+            if (!typeManager.isLazyResolutionMode()) {
+                resType = typeManager.getUnresolvedObjectType();
+            } else {
+                resType = ci.getTypeFromDescriptor(enclClass, descriptorString);
+            }
             while( *(++descriptorString) != ';' ) {
                 len++;
                 assert(*descriptorString);



Mime
View raw message