mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix continuations=true build for Windows
This commit is contained in:
parent
2bb5ccebd3
commit
8b11f0c271
@ -396,9 +396,13 @@ GLOBAL(vmJumpAndInvoke):
|
||||
movl 4(%esp),%ebx
|
||||
|
||||
// set return address
|
||||
#ifdef __MINGW32__
|
||||
movl $vmInvoke_returnAddress,%esi
|
||||
#else
|
||||
call LOCAL(getPC)
|
||||
addl $_GLOBAL_OFFSET_TABLE_,%esi
|
||||
movl vmInvoke_returnAddress@GOT(%esi),%esi
|
||||
#endif
|
||||
movl %esi,(%ecx)
|
||||
|
||||
// copy arguments into place
|
||||
|
@ -131,9 +131,13 @@ LOCAL(vmInvoke_continuationTest):
|
||||
|
||||
// set the return address to vmInvoke_returnAddress
|
||||
movl CONTINUATION_RETURN_ADDRESS_OFFSET(%ecx),%edi
|
||||
#ifdef __MINGW32__
|
||||
movl $vmInvoke_returnAddress,%esi
|
||||
#else
|
||||
call LOCAL(getPC)
|
||||
addl $_GLOBAL_OFFSET_TABLE_,%esi
|
||||
movl vmInvoke_returnAddress@GOT(%esi),%esi
|
||||
#endif
|
||||
movl %esi,(%esp,%edi,1)
|
||||
|
||||
// save the current base pointer in the frame and update it
|
||||
|
Loading…
Reference in New Issue
Block a user