mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8303863: RISC-V: TestArrayStructs.java fails after JDK-8303604
Reviewed-by: jvernee, fyang
This commit is contained in:
parent
0a4d54f7ce
commit
98a7a60fcb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue