mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
1689cfcdaf
commit
70dea9ef28
2 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue