Permalink
Browse files

Reformat for new syntax

  • Loading branch information...
1 parent 0e3ee39 commit df7f21db093b0f206048b18e977161f91b7c28f1 @marijnh marijnh committed Jul 27, 2011
Showing 723 changed files with 28,821 additions and 31,830 deletions.
View
@@ -2,126 +2,126 @@
// FIXME: Most of these should be uints.
-const int rc_base_field_refcnt = 0;
+const rc_base_field_refcnt: int = 0;
// FIXME: import from std::dbg when imported consts work.
-const uint const_refcount = 0x7bad_face_u;
+const const_refcount: uint = 0x7bad_face_u;
-const int task_field_refcnt = 0;
+const task_field_refcnt: int = 0;
-const int task_field_stk = 2;
+const task_field_stk: int = 2;
-const int task_field_runtime_sp = 3;
+const task_field_runtime_sp: int = 3;
-const int task_field_rust_sp = 4;
+const task_field_rust_sp: int = 4;
-const int task_field_gc_alloc_chain = 5;
+const task_field_gc_alloc_chain: int = 5;
-const int task_field_dom = 6;
+const task_field_dom: int = 6;
-const int n_visible_task_fields = 7;
+const n_visible_task_fields: int = 7;
-const int dom_field_interrupt_flag = 1;
+const dom_field_interrupt_flag: int = 1;
-const int frame_glue_fns_field_mark = 0;
+const frame_glue_fns_field_mark: int = 0;
-const int frame_glue_fns_field_drop = 1;
+const frame_glue_fns_field_drop: int = 1;
-const int frame_glue_fns_field_reloc = 2;
+const frame_glue_fns_field_reloc: int = 2;
-const int box_rc_field_refcnt = 0;
+const box_rc_field_refcnt: int = 0;
-const int box_rc_field_body = 1;
+const box_rc_field_body: int = 1;
-const int general_code_alignment = 16;
+const general_code_alignment: int = 16;
-const int vec_elt_rc = 0;
+const vec_elt_rc: int = 0;
-const int vec_elt_alloc = 1;
+const vec_elt_alloc: int = 1;
-const int vec_elt_fill = 2;
+const vec_elt_fill: int = 2;
-const int vec_elt_pad = 3;
+const vec_elt_pad: int = 3;
-const int vec_elt_data = 4;
+const vec_elt_data: int = 4;
-const int tydesc_field_first_param = 0;
+const tydesc_field_first_param: int = 0;
-const int tydesc_field_size = 1;
+const tydesc_field_size: int = 1;
-const int tydesc_field_align = 2;
+const tydesc_field_align: int = 2;
-const int tydesc_field_copy_glue = 3;
+const tydesc_field_copy_glue: int = 3;
-const int tydesc_field_drop_glue = 4;
+const tydesc_field_drop_glue: int = 4;
-const int tydesc_field_free_glue = 5;
+const tydesc_field_free_glue: int = 5;
-const int tydesc_field_sever_glue = 6;
+const tydesc_field_sever_glue: int = 6;
-const int tydesc_field_mark_glue = 7;
+const tydesc_field_mark_glue: int = 7;
// FIXME no longer used in rustc, drop when rustboot is gone
-const int tydesc_field_obj_drop_glue = 8;
+const tydesc_field_obj_drop_glue: int = 8;
-const int tydesc_field_is_stateful = 9;
+const tydesc_field_is_stateful: int = 9;
-const int tydesc_field_cmp_glue = 10;
+const tydesc_field_cmp_glue: int = 10;
-const int n_tydesc_fields = 11;
+const n_tydesc_fields: int = 11;
-const uint cmp_glue_op_eq = 0u;
+const cmp_glue_op_eq: uint = 0u;
-const uint cmp_glue_op_lt = 1u;
+const cmp_glue_op_lt: uint = 1u;
-const uint cmp_glue_op_le = 2u;
+const cmp_glue_op_le: uint = 2u;
-const int obj_field_vtbl = 0;
+const obj_field_vtbl: int = 0;
-const int obj_field_box = 1;
+const obj_field_box: int = 1;
-const int obj_body_elt_tydesc = 0;
+const obj_body_elt_tydesc: int = 0;
-const int obj_body_elt_typarams = 1;
+const obj_body_elt_typarams: int = 1;
-const int obj_body_elt_fields = 2;
+const obj_body_elt_fields: int = 2;
// The base object to which an anonymous object is attached.
-const int obj_body_elt_with_obj = 3;
+const obj_body_elt_with_obj: int = 3;
// The two halves of a closure: code and environment.
-const int fn_field_code = 0;
-const int fn_field_box = 1;
+const fn_field_code: int = 0;
+const fn_field_box: int = 1;
-const int closure_elt_tydesc = 0;
+const closure_elt_tydesc: int = 0;
-const int closure_elt_target = 1;
+const closure_elt_target: int = 1;
-const int closure_elt_bindings = 2;
+const closure_elt_bindings: int = 2;
-const int closure_elt_ty_params = 3;
+const closure_elt_ty_params: int = 3;
-const uint ivec_default_length = 4u;
+const ivec_default_length: uint = 4u;
-const uint ivec_elt_len = 0u;
+const ivec_elt_len: uint = 0u;
-const uint ivec_elt_alen = 1u;
+const ivec_elt_alen: uint = 1u;
-const uint ivec_elt_elems = 2u;
+const ivec_elt_elems: uint = 2u;
-const uint ivec_heap_stub_elt_zero = 0u;
+const ivec_heap_stub_elt_zero: uint = 0u;
-const uint ivec_heap_stub_elt_alen = 1u;
+const ivec_heap_stub_elt_alen: uint = 1u;
-const uint ivec_heap_stub_elt_ptr = 2u;
+const ivec_heap_stub_elt_ptr: uint = 2u;
-const uint ivec_heap_elt_len = 0u;
+const ivec_heap_elt_len: uint = 0u;
-const uint ivec_heap_elt_elems = 1u;
+const ivec_heap_elt_elems: uint = 1u;
-const int worst_case_glue_call_args = 7;
+const worst_case_glue_call_args: int = 7;
fn memcpy_glue_name() -> str { ret "rust_memcpy_glue"; }
Oops, something went wrong.

0 comments on commit df7f21d

Please sign in to comment.