зеркало из https://github.com/github/ruby.git
* vm.c (vm_make_env_each): should not compare with Qfalse and FALSE.
Pointed at http://d.hatena.ne.jp/nagachika/20151216/ruby_trunk_changes_53128_53163 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1689cfcdaf
Коммит
70dea9ef28
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 17 03:52:10 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm.c (vm_make_env_each): should not compare with Qfalse and FALSE.
|
||||
Pointed at http://d.hatena.ne.jp/nagachika/20151216/ruby_trunk_changes_53128_53163
|
||||
|
||||
Thu Dec 17 03:15:25 2015 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_insnhelper.c (vm_call_method_each_type): should not set fastpath
|
||||
|
|
2
vm.c
2
vm.c
|
@ -608,7 +608,7 @@ vm_make_env_each(rb_thread_t *const th, rb_control_frame_t *const cfp)
|
|||
else {
|
||||
rb_block_t *block = VM_EP_BLOCK_PTR(ep);
|
||||
|
||||
if (block && (vm_make_proc_from_block(th, block, &blockprocval)) != Qfalse) {
|
||||
if (block && vm_make_proc_from_block(th, block, &blockprocval)) {
|
||||
rb_proc_t *p;
|
||||
GetProcPtr(blockprocval, p);
|
||||
*ep = VM_ENVVAL_BLOCK_PTR(&p->block);
|
||||
|
|
Загрузка…
Ссылка в новой задаче