8303863: RISC-V: TestArrayStructs.java fails after JDK-8303604
Reviewed-by: jvernee, fyang
This commit is contained in:
parent
0a4d54f7ce
commit
98a7a60fcb
@ -305,7 +305,7 @@ public class LinuxRISCV64CallArranger {
|
||||
if (offset + copy < layout.byteSize()) {
|
||||
bindings.dup();
|
||||
}
|
||||
bindings.bufferLoad(offset, type)
|
||||
bindings.bufferLoad(offset, type, (int) copy)
|
||||
.vmStore(storage, type);
|
||||
offset += copy;
|
||||
}
|
||||
@ -415,7 +415,7 @@ public class LinuxRISCV64CallArranger {
|
||||
VMStorage storage = locations[locIndex++];
|
||||
Class<?> type = SharedUtils.primitiveCarrierForSize(copy, false);
|
||||
bindings.dup().vmLoad(storage, type)
|
||||
.bufferStore(offset, type);
|
||||
.bufferStore(offset, type, (int) copy);
|
||||
offset += copy;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user