mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix return of double values from Java to native code on x86_32
This commit is contained in:
parent
783c6092af
commit
8b9cdc13ba
@ -385,21 +385,7 @@ GLOBAL(vmInvoke_safeStack):
|
||||
|
||||
// handle return value based on expected type
|
||||
movl 28(%esp),%ecx
|
||||
|
||||
LOCAL(vmInvoke_void):
|
||||
cmpl $VOID_TYPE,%ecx
|
||||
jne LOCAL(vmInvoke_int64)
|
||||
jmp LOCAL(vmInvoke_return)
|
||||
|
||||
LOCAL(vmInvoke_int64):
|
||||
cmpl $INT64_TYPE,%ecx
|
||||
jne LOCAL(vmInvoke_int32)
|
||||
jmp LOCAL(vmInvoke_return)
|
||||
|
||||
LOCAL(vmInvoke_int32):
|
||||
movl $0,%edx
|
||||
|
||||
LOCAL(vmInvoke_return):
|
||||
popl %ebp
|
||||
ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user