fix continuations=true build for Cygwin

This commit is contained in:
Joel Dice 2009-12-02 19:37:22 -07:00
parent 8b11f0c271
commit b218117881
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@
#ifdef __x86_64__
#ifdef __MINGW32__
#if defined __MINGW32__ || defined __CYGWIN32__
#define CALLEE_SAVED_REGISTER_FOOTPRINT 64
@ -154,7 +154,7 @@ LOCAL(vmJumpAndInvoke_argumentTest):
int3
#endif // not AVIAN_CONTINUATIONS
#else // not __MINGW32__
#else // not __MINGW32__ ||__CYGWIN32__
#define CALLEE_SAVED_REGISTER_FOOTPRINT 48
@ -279,7 +279,7 @@ LOCAL(vmJumpAndInvoke_argumentTest):
int3
#endif // not AVIAN_CONTINUATIONS
#endif // not __MINGW32__
#endif // not __MINGW32__ || __CYGWIN32__
#elif defined __i386__
@ -396,7 +396,7 @@ GLOBAL(vmJumpAndInvoke):
movl 4(%esp),%ebx
// set return address
#ifdef __MINGW32__
#if defined __MINGW32__ || defined __CYGWIN32__
movl $vmInvoke_returnAddress,%esi
#else
call LOCAL(getPC)

View File

@ -131,7 +131,7 @@ LOCAL(vmInvoke_continuationTest):
// set the return address to vmInvoke_returnAddress
movl CONTINUATION_RETURN_ADDRESS_OFFSET(%ecx),%edi
#ifdef __MINGW32__
#if defined __MINGW32__ || defined __CYGWIN32__
movl $vmInvoke_returnAddress,%esi
#else
call LOCAL(getPC)