mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
align stack size for vmNativeCall to 16 on ARM
The ARM64 ABI(s) require this, and it doesn't hurt to do it on 32-bit ARM as well.
This commit is contained in:
parent
bd22daccff
commit
bbd4c58f91
@ -311,7 +311,7 @@ inline uint64_t dynamicCall(void* function,
|
||||
vfpIndex = VfpCount;
|
||||
}
|
||||
|
||||
unsigned stackSize = stackIndex * BytesPerWord + ((stackIndex & 1) << 2);
|
||||
unsigned stackSize = pad(stackIndex * BytesPerWord, 16);
|
||||
return vmNativeCall(function,
|
||||
stackSize,
|
||||
RUNTIME_ARRAY_BODY(stack),
|
||||
|
Loading…
Reference in New Issue
Block a user