diff options
author | S-H-GAMELINKS <[email protected]> | 2021-09-14 09:19:30 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2021-09-14 14:58:28 +0900 |
commit | 692dfc50888b86084181d520297a49faa4bd0809 (patch) | |
tree | 21dbd571e952a3fb8d3b6433966e91a9ec4c6e5f | |
parent | bb84c75001f1bf13b4b2a12db8f4420e76a3ea03 (diff) |
Refactor vm_yield function
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4830
-rw-r--r-- | vm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1396,9 +1396,7 @@ vm_yield_with_cref(rb_execution_context_t *ec, int argc, const VALUE *argv, int static VALUE vm_yield(rb_execution_context_t *ec, int argc, const VALUE *argv, int kw_splat) { - return invoke_block_from_c_bh(ec, check_block_handler(ec), - argc, argv, kw_splat, VM_BLOCK_HANDLER_NONE, - NULL, FALSE, FALSE); + return vm_yield_with_cref(ec, argc, argv, kw_splat, NULL, FALSE); } static VALUE |