Revert "Fix redefinition of `clock_gettime` and `clock_getres`"
[ruby.git] / sparc.c
blobfe9dd684f449836922903d0a1ebf91fa510531c2
1 /********************************************************************
2 Flush register windows on sparc.
4 This function is in a separate file to prevent inlining. The "flushw"
5 assembler instruction used on sparcv9 flushes all register windows
6 except the current one, so if it is inlined, the current register
7 window of the process executing the instruction will not be flushed
8 correctly.
10 See https://bugs.ruby-lang.org/issues/5244 for discussion.
11 *********************************************************************/
12 void
13 rb_sparc_flush_register_windows(void)