mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* yarvcore.c (th_init2): push initial blockptr value for
rb_block_given_p() outside ruby_exec(). [ruby-core:10923] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c36d2d3c1
commit
07cab8007e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 18 02:50:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* yarvcore.c (th_init2): push initial blockptr value for
|
||||
rb_block_given_p() outside ruby_exec(). [ruby-core:10923]
|
||||
|
||||
Wed Apr 18 02:30:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (LDFLAGS): prepend -L. instead appending it to
|
||||
|
|
|
@ -318,9 +318,10 @@ th_init2(rb_thread_t *th)
|
|||
th->cfp--;
|
||||
|
||||
th->cfp->pc = 0;
|
||||
th->cfp->sp = th->stack;
|
||||
th->cfp->sp = th->stack + 1;
|
||||
th->cfp->bp = 0;
|
||||
th->cfp->lfp = th->stack;
|
||||
*th->cfp->lfp = 0;
|
||||
th->cfp->dfp = th->stack;
|
||||
th->cfp->self = Qnil;
|
||||
th->cfp->magic = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue