harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r453466 - /incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp
Date Fri, 06 Oct 2006 02:11:33 GMT
Author: geirm
Date: Thu Oct  5 19:11:32 2006
New Revision: 453466

URL: http://svn.apache.org/viewvc?view=rev&rev=453466
Log:
HARMONY-1696

vm_multianewarray_recursive() contains calls to set_vector_size() which is already done in
vm_new_vector(). 

Ubuntu 6 - smoke, c-unit, ~kernel


Modified:
    incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp

Modified: incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp?view=diff&rev=453466&r1=453465&r2=453466
==============================================================================
--- incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp (original)
+++ incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp Thu Oct  5 19:11:32
2006
@@ -339,7 +339,6 @@
         assert(exn_raised());
         return 0;
     }
-    set_vector_length(array, dims_array[0]);
     if (max_depth == 0) return array;
 
     d = 1;
@@ -351,8 +350,6 @@
             // OutOfMemoryError occured
             return 0;
         }
-
-        set_vector_length(element, dims_array[d]);
 
         if (d != max_depth) {
             obj[d]->object = element;



Mime
View raw message