You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ge...@apache.org on 2006/10/06 04:11:33 UTC
svn commit: r453466 -
/incubator/harmony/enhanced/drlvm/trunk/vm/vmcore/src/object/vm_arrays.cpp
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;