2010-09-23 17:46:31 -05:00
|
|
|
|
2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const rc_base_field_refcnt: uint = 0u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_refcnt: uint = 0u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_stk: uint = 2u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_runtime_sp: uint = 3u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_rust_sp: uint = 4u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_gc_alloc_chain: uint = 5u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const task_field_dom: uint = 6u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const n_visible_task_fields: uint = 7u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const dom_field_interrupt_flag: uint = 1u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const frame_glue_fns_field_mark: uint = 0u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const frame_glue_fns_field_drop: uint = 1u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const frame_glue_fns_field_reloc: uint = 2u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const box_field_refcnt: uint = 0u;
|
|
|
|
const box_field_tydesc: uint = 1u;
|
|
|
|
const box_field_prev: uint = 2u;
|
|
|
|
const box_field_next: uint = 3u;
|
|
|
|
const box_field_body: uint = 4u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const general_code_alignment: uint = 16u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const tydesc_field_first_param: uint = 0u;
|
|
|
|
const tydesc_field_size: uint = 1u;
|
|
|
|
const tydesc_field_align: uint = 2u;
|
|
|
|
const tydesc_field_take_glue: uint = 3u;
|
|
|
|
const tydesc_field_drop_glue: uint = 4u;
|
|
|
|
const tydesc_field_free_glue: uint = 5u;
|
2012-05-14 19:57:39 -05:00
|
|
|
const tydesc_field_visit_glue: uint = 6u;
|
2012-05-04 00:31:38 -05:00
|
|
|
const tydesc_field_sever_glue: uint = 7u;
|
|
|
|
const tydesc_field_mark_glue: uint = 8u;
|
|
|
|
const tydesc_field_unused2: uint = 9u;
|
|
|
|
const tydesc_field_unused_2: uint = 10u;
|
|
|
|
const tydesc_field_shape: uint = 11u;
|
|
|
|
const tydesc_field_shape_tables: uint = 12u;
|
|
|
|
const tydesc_field_n_params: uint = 13u;
|
|
|
|
const tydesc_field_obj_params: uint = 14u; // FIXME unused (#2351)
|
|
|
|
const n_tydesc_fields: uint = 15u;
|
2010-12-20 12:23:37 -06:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
const cmp_glue_op_eq: uint = 0u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
const cmp_glue_op_lt: uint = 1u;
|
2011-04-18 14:44:50 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
const cmp_glue_op_le: uint = 2u;
|
2010-12-17 01:26:07 -06:00
|
|
|
|
2011-06-28 20:47:36 -05:00
|
|
|
// The two halves of a closure: code and environment.
|
2012-05-04 00:31:38 -05:00
|
|
|
const fn_field_code: uint = 0u;
|
|
|
|
const fn_field_box: uint = 1u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const vec_elt_fill: uint = 0u;
|
2011-06-10 21:35:59 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const vec_elt_alloc: uint = 1u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const vec_elt_elems: uint = 2u;
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const slice_elt_base: uint = 0u;
|
|
|
|
const slice_elt_len: uint = 1u;
|
2012-04-16 18:17:51 -05:00
|
|
|
|
2012-05-04 00:31:38 -05:00
|
|
|
const worst_case_glue_call_args: uint = 7u;
|
2010-09-23 17:46:31 -05:00
|
|
|
|
2011-08-20 16:22:09 -05:00
|
|
|
const abi_version: uint = 1u;
|
|
|
|
|
2011-09-02 17:34:58 -05:00
|
|
|
fn memcpy_glue_name() -> str { ret "rust_memcpy_glue"; }
|
2011-01-18 17:38:35 -06:00
|
|
|
|
2011-09-02 17:34:58 -05:00
|
|
|
fn bzero_glue_name() -> str { ret "rust_bzero_glue"; }
|
2011-03-02 18:42:09 -06:00
|
|
|
|
2011-09-02 17:34:58 -05:00
|
|
|
fn yield_glue_name() -> str { ret "rust_yield_glue"; }
|
2011-01-17 19:24:33 -06:00
|
|
|
|
2011-09-02 17:34:58 -05:00
|
|
|
fn no_op_type_glue_name() -> str { ret "rust_no_op_type_glue"; }
|
2010-09-23 17:46:31 -05:00
|
|
|
//
|
|
|
|
// Local Variables:
|
|
|
|
// mode: rust
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
|
|
|
// c-basic-offset: 4
|
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// End:
|
|
|
|
//
|