diff options
| author | Graydon Hoare <[email protected]> | 2011-01-05 18:57:28 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-05 18:57:28 -0800 |
| commit | 62c79fb216335f9d7abccd1f08d9803a702baa42 (patch) | |
| tree | d94c974bd316a1ad8034b19a341a435d820fc609 /src/comp/back | |
| parent | Translate trivial bindings. Un-XFAIL bind-trivial.rs. (diff) | |
| download | rust-62c79fb216335f9d7abccd1f08d9803a702baa42.tar.xz rust-62c79fb216335f9d7abccd1f08d9803a702baa42.zip | |
Sketch closure-forming logic for nontrivial bindings.
Diffstat (limited to 'src/comp/back')
| -rw-r--r-- | src/comp/back/abi.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs index 3fae601b..8cef3439 100644 --- a/src/comp/back/abi.rs +++ b/src/comp/back/abi.rs @@ -49,6 +49,12 @@ const int obj_body_elt_fields = 1; const int fn_field_code = 0; const int fn_field_box = 1; +const int closure_elt_tydesc = 0; +const int closure_elt_target = 1; +const int closure_elt_bindings = 2; +const int closure_elt_ty_params = 3; + + const int worst_case_glue_call_args = 7; const int n_upcall_glues = 7; |