diff options
| author | Carl Shapiro <cshapiro@google.com> | 2011-04-18 15:08:21 -0700 |
|---|---|---|
| committer | Carl Shapiro <cshapiro@google.com> | 2011-04-19 18:30:09 -0700 |
| commit | e4195e1c91f4ea3c6192070fd3c9b9e4e6d429ae (patch) | |
| tree | f3a9bf34968d89819bfb2e99edf3067c3f342c38 /vm/compiler/codegen/arm/CodegenDriver.cpp | |
| parent | a0739ea3040b578a53de817688ab5e9f17c0ce72 (diff) | |
Fix a type error in the allocation of non-moving arrays.
Originally, non-moving arrays were allocated with dvmAllocObjectArray.
However, dvmAllocObjectArray does not respect the width of the user
supplied element class and substitutes a hard coded value of 4 bytes.
This change replaces dvmAllocObjectArray with dvmAllocArrayByClass.
dvmAllocArrayByClass consults the element class for its width when
computing the storage size for the array being allocated.
Bug: 4309030
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions
