зеркало из https://github.com/github/ruby.git
* eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
* cont.c (rb_fiber_start): remove zero-clearing tag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6c5a50ff33
Коммит
ed88975237
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Jun 7 01:03:20 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
|
||||||
|
|
||||||
|
* cont.c (rb_fiber_start): remove zero-clearing tag.
|
||||||
|
|
||||||
Wed Jun 6 20:23:46 2007 Koichi Sasada <ko1@atdot.net>
|
Wed Jun 6 20:23:46 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* insns.def (invokeblock): fix of splat argument.
|
* insns.def (invokeblock): fix of splat argument.
|
||||||
|
|
2
cont.c
2
cont.c
|
@ -429,8 +429,6 @@ rb_fiber_start(void)
|
||||||
VALUE args;
|
VALUE args;
|
||||||
int state;
|
int state;
|
||||||
|
|
||||||
th->tag = 0;
|
|
||||||
|
|
||||||
TH_PUSH_TAG(th);
|
TH_PUSH_TAG(th);
|
||||||
if ((state = EXEC_TAG()) == 0) {
|
if ((state = EXEC_TAG()) == 0) {
|
||||||
GetContPtr(th->fiber, cont);
|
GetContPtr(th->fiber, cont);
|
||||||
|
|
2
eval.c
2
eval.c
|
@ -96,7 +96,7 @@ ruby_init(void)
|
||||||
ruby_prog_init();
|
ruby_prog_init();
|
||||||
ALLOW_INTS;
|
ALLOW_INTS;
|
||||||
}
|
}
|
||||||
POP_TAG_INIT();
|
POP_TAG();
|
||||||
|
|
||||||
if (state) {
|
if (state) {
|
||||||
error_print();
|
error_print();
|
||||||
|
|
|
@ -141,7 +141,6 @@ char *strrchr _((const char *, const char));
|
||||||
|
|
||||||
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
|
#define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
|
||||||
#define POP_TAG() TH_POP_TAG()
|
#define POP_TAG() TH_POP_TAG()
|
||||||
#define POP_TAG_INIT() } while (0)
|
|
||||||
|
|
||||||
#define TH_EXEC_TAG() \
|
#define TH_EXEC_TAG() \
|
||||||
(FLUSH_REGISTER_WINDOWS, ruby_setjmp(_th->tag->buf))
|
(FLUSH_REGISTER_WINDOWS, ruby_setjmp(_th->tag->buf))
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2007-06-06"
|
#define RUBY_RELEASE_DATE "2007-06-07"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20070606
|
#define RUBY_RELEASE_CODE 20070607
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 6
|
#define RUBY_RELEASE_MONTH 6
|
||||||
#define RUBY_RELEASE_DAY 6
|
#define RUBY_RELEASE_DAY 7
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче