diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 23:33:59 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-26 23:33:59 +0000 |
commit | a8868b3fe56384d9f57ff5803bd843b26afa1584 (patch) | |
tree | 90b5f79c6d755ca5137c9097df63ad2bdfd3ece1 /vm_args.c | |
parent | 06000a03a82630b1a1c524ea00ad93ccd2947812 (diff) |
rb_vm_bh_to_procval() accepts `ec` instead of `th`.
* vm_insnhelper.c (rb_vm_bh_to_procval): accepts `ec` instead of `th`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_args.c')
-rw-r--r-- | vm_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -477,7 +477,7 @@ static inline void args_setup_block_parameter(rb_thread_t *th, struct rb_calling_info *calling, VALUE *locals) { VALUE block_handler = calling->block_handler; - *locals = rb_vm_bh_to_procval(th, block_handler); + *locals = rb_vm_bh_to_procval(th->ec, block_handler); } struct fill_values_arg { |