diff options
author | Takashi Kokubun <[email protected]> | 2023-02-03 07:14:42 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-03 10:14:42 -0500 |
commit | 08c529be900b2bee13858faa5a27933dfe645abb (patch) | |
tree | ac4fd53757821694b936a4ff3294b1692a907fbf /vm_insnhelper.c | |
parent | 8e7d2cc2ab55339b946025f01f52b1795dab3e1a (diff) |
YJIT: Support ifunc on invokeblock (#7233)
Notes
Notes:
Merged-By: maximecb <[email protected]>
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 0ce7fb6cc7..8ff837a8df 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -4396,6 +4396,12 @@ vm_yield_with_cfunc(rb_execution_context_t *ec, return val; } +VALUE +rb_vm_yield_with_cfunc(rb_execution_context_t *ec, const struct rb_captured_block *captured, int argc, const VALUE *argv) +{ + return vm_yield_with_cfunc(ec, captured, captured->self, argc, argv, 0, VM_BLOCK_HANDLER_NONE, NULL); +} + static VALUE vm_yield_with_symbol(rb_execution_context_t *ec, VALUE symbol, int argc, const VALUE *argv, int kw_splat, VALUE block_handler) { |