Skip to content

Commit

Permalink
FLUSH_REGISTER_WINDOWS must not be empty. Set to NULL instead.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
knu committed Jan 4, 2003
1 parent 50e6219 commit af8250e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Sun Jan 5 03:43:47 2003 Akinori MUSHA <[email protected]>

* defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an
inline function instead so it can be used as an expression.
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
Expand Down
2 changes: 1 addition & 1 deletion defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,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(DOSISH)
Expand Down

0 comments on commit af8250e

Please sign in to comment.