[py-svn] r17300 - py/dist/py/c-extension/greenlet
hpk at codespeak.net
hpk at codespeak.net
Tue Sep 6 22:01:03 CEST 2005
Author: hpk
Date: Tue Sep 6 22:01:02 2005
New Revision: 17300
Modified:
py/dist/py/c-extension/greenlet/switch_x86_unix.h
Log:
remove ebx from clobbered list as discussed on py-dev
this makes things work again for me on an intel linux machine.
Modified: py/dist/py/c-extension/greenlet/switch_x86_unix.h
==============================================================================
--- py/dist/py/c-extension/greenlet/switch_x86_unix.h (original)
+++ py/dist/py/c-extension/greenlet/switch_x86_unix.h Tue Sep 6 22:01:02 2005
@@ -31,7 +31,7 @@
slp_switch(void)
{
register int *stackref, stsizediff;
- __asm__ volatile ("" : : : "ebx", "esi", "edi");
+ __asm__ volatile ("" : : : "esi", "edi");
__asm__ ("movl %%esp, %0" : "=g" (stackref));
{
SLP_SAVE_STATE(stackref, stsizediff);
@@ -44,7 +44,7 @@
SLP_RESTORE_STATE();
return 0;
}
- __asm__ volatile ("" : : : "ebx", "esi", "edi");
+ __asm__ volatile ("" : : : "esi", "edi");
}
#endif
More information about the pytest-commit
mailing list