Skip to content

Commit

Permalink
Correct the way we get typarams when dropping an obj type in drop_ty …
Browse files Browse the repository at this point in the history
…by using get_tydesc_params.
  • Loading branch information
froystig committed Jul 15, 2010
1 parent 25a38ee commit f02f9cb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/boot/me/trans.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2475,9 +2475,7 @@ let trans_visitor
let obj = deref binding in
let tydesc = get_element_ptr obj 1 in
let body = get_element_ptr obj 2 in
let ty_params =
get_element_ptr (deref tydesc) Abi.tydesc_field_first_param
in
let ty_params = get_tydesc_params ty_params tydesc in
let dtor =
get_element_ptr (deref tydesc) Abi.tydesc_field_obj_drop_glue
in
Expand Down Expand Up @@ -3670,9 +3668,9 @@ let trans_visitor
end
call.call_callee_ty_params;

trans_arg1 callee_task_cell;
trans_arg1 callee_task_cell;

trans_arg0 callee_output_cell initializing_arg0 call
trans_arg0 callee_output_cell initializing_arg0 call



Expand Down

0 comments on commit f02f9cb

Please sign in to comment.