Modify copy_fn_args not to bother with dynamic GEP to get the indirect args cell in a calltup. It's now possible to obtain it with just regular GEP.
This commit is contained in:
parent
373f904c92
commit
25a38ee4f7
@ -3597,6 +3597,9 @@ let trans_visitor
|
||||
let callee_task_cell =
|
||||
get_element_ptr all_callee_args_cell Abi.calltup_elt_task_ptr
|
||||
in
|
||||
let callee_indirect_args =
|
||||
get_element_ptr all_callee_args_cell Abi.calltup_elt_indirect_args
|
||||
in
|
||||
let callee_ty_params =
|
||||
get_element_ptr all_callee_args_cell Abi.calltup_elt_ty_params
|
||||
in
|
||||
@ -3608,10 +3611,6 @@ let trans_visitor
|
||||
get_element_ptr_dyn_in_current_frame
|
||||
all_callee_args_cell Abi.calltup_elt_iterator_args
|
||||
in
|
||||
let callee_indirect_args =
|
||||
get_element_ptr_dyn_in_current_frame
|
||||
all_callee_args_cell Abi.calltup_elt_indirect_args
|
||||
in
|
||||
|
||||
let n_args = Array.length call.call_args in
|
||||
let n_iterators = Array.length call.call_iterator_args in
|
||||
|
Loading…
Reference in New Issue
Block a user