mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an
inline function so it can be used as an expression. * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that every setjmp() implementation should take care of register windows, though) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fa8c72658d
commit
b773357b7c
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ flush_register_windows(void)
|
|||
}
|
||||
#define FLUSH_REGISTER_WINDOWS flush_register_windows()
|
||||
#else /* Not a sparc, so */
|
||||
#define FLUSH_REGISTER_WINDOWS /* empty -- nothing to do here */
|
||||
#define FLUSH_REGISTER_WINDOWS NULL
|
||||
#endif
|
||||
|
||||
#if defined(MSDOS) || defined(_WIN32) || defined(__human68k__) || defined(__EMX__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue