diff options
| author | Roy Frostig <[email protected]> | 2010-07-22 12:45:58 -0700 |
|---|---|---|
| committer | Roy Frostig <[email protected]> | 2010-07-22 12:45:58 -0700 |
| commit | 1ae13b3fdd02593581b8ccd374ea4971d473e9dc (patch) | |
| tree | 1764bbae771080c736c58d2d5d89c4fab114ff5e /src/boot/me | |
| parent | XFAIL task-comm-5, it's burning the tinderboxes. (diff) | |
| download | rust-1ae13b3fdd02593581b8ccd374ea4971d473e9dc.tar.xz rust-1ae13b3fdd02593581b8ccd374ea4971d473e9dc.zip | |
Source FIXME annotations for issue #81 and a correction to STMT_bind fmt.
Diffstat (limited to 'src/boot/me')
| -rw-r--r-- | src/boot/me/trans.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml index 07b22dca..6ec88f99 100644 --- a/src/boot/me/trans.ml +++ b/src/boot/me/trans.ml @@ -3818,7 +3818,7 @@ let trans_visitor (* * NB: 'all_*_args', both self and callee, are always 4-tuples: * - * [out_ptr, task_ptr, [args], [indirect_args]] + * [out_ptr, task_ptr, indirect_args, ty_params, [args]] * * The first few bindings here just destructure those via GEP. * @@ -3833,6 +3833,9 @@ let trans_visitor get_element_ptr all_self_args_cell Abi.calltup_elt_ty_params in let callee_args_cell = + (* FIXME (issue #81): Once we've actually got proper ty_params, + * we should GEP dynamically here to get the args, since they may + * be aligned dynamically if they have parameterized type. *) get_element_ptr all_callee_args_cell Abi.calltup_elt_args in let self_indirect_args_cell = |