-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
We have a lot of duplicated code paths now that we optimize both sends with blocks and sends without blocks. Let's merge the HIR instructions SendWithBlock and Send. A PR will need to:
- Merge both instructions into Send
- Make sure all the SendWithoutBlock specializations appropriately check both
VM_CALL_ARGS_BLOCKARGandblockiseq - Have the codegen call
rb_vm_opt_send_without_blockif we definitely don't have a block (see above) andrb_vm_sendotherwise
This should de-dup type_specialize and optimize_c_calls.
Metadata
Metadata
Assignees
Labels
No labels