Mercurial > hg > openjdk > aarch64-port > hotspot
changeset 7548:a6df78e590bb
array load must only read 32 bits
author | aph |
---|---|
date | Wed, 10 Sep 2014 10:42:58 -0400 |
parents | e97a048e045a |
children | 05c84f4cec3e 9200b9e93039 8fdbd65711c6 |
files | src/cpu/aarch64/vm/macroAssembler_aarch64.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Tue Sep 09 13:59:22 2014 -0400 +++ b/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp Wed Sep 10 10:42:58 2014 -0400 @@ -1061,7 +1061,7 @@ // We will consult the secondary-super array. ldr(r5, secondary_supers_addr); // Load the array length. (Positive movl does right thing on LP64.) - ldr(r2, Address(r5, Array<Klass*>::length_offset_in_bytes())); + ldrw(r2, Address(r5, Array<Klass*>::length_offset_in_bytes())); // Skip to start of data. add(r5, r5, Array<Klass*>::base_offset_in_bytes());