# HG changeset patch # User Chong Yidong # Date 1232685498 0 # Node ID b19b16732fb0f03d88ee180bd6692e6361928b76 # Parent 7e35f82c4a0bc86883da8748d3bc70046729c9b3 (mark_stack): Use "flushw" instead of "ta 3" assembly call for Sparc64. diff -r 7e35f82c4a0b -r b19b16732fb0 src/alloc.c --- a/src/alloc.c Fri Jan 23 04:37:58 2009 +0000 +++ b/src/alloc.c Fri Jan 23 04:38:18 2009 +0000 @@ -4488,8 +4488,12 @@ needed on ia64 too. See mach_dep.c, where it also says inline assembler doesn't work with relevant proprietary compilers. */ #ifdef __sparc__ +#ifdef __sparc64__ + asm ("flushw"); +#else asm ("ta 3"); #endif +#endif /* Save registers that we need to see on the stack. We need to see registers used to hold register variables and registers used to