8260029: aarch64: fix typo in verify_oop_array

Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Reviewed-by: shade, aph
This commit is contained in:
Fei Yang 2021-01-21 11:58:23 +00:00
parent e1de0bf8d4
commit 4bcffeb9f4

View File

@ -1340,10 +1340,10 @@ class StubGenerator: public StubCodeGenerator {
__ ldr(temp, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ verify_oop(temp);
} else {
__ ldrw(r16, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ ldrw(temp, Address(a, rscratch2, Address::lsl(exact_log2(size))));
__ decode_heap_oop(temp); // calls verify_oop
}
__ add(rscratch2, rscratch2, size);
__ add(rscratch2, rscratch2, 1);
__ b(loop);
__ bind(end);
}