Fix crasher in rustc.

This commit is contained in:
Graydon Hoare 2010-10-14 12:41:48 -07:00
parent 668f3a90a8
commit f234750d80
4 changed files with 14 additions and 5 deletions

View file

@ -62,10 +62,12 @@ let obj_body_elt_fields = 1;;
let fn_field_code = binding_field_dispatch;;
let fn_field_box = binding_field_bound_data;;
(* NB: bound ty params come last to facilitate ignoring them on
* closure-dropping. *)
let closure_body_elt_bound_args_tydesc = 0;;
let closure_body_elt_target = 1;;
let closure_body_elt_bound_ty_params = 2;;
let closure_body_elt_bound_args = 3;;
let closure_body_elt_bound_args = 2;;
let closure_body_elt_bound_ty_params = 3;;
let tag_elt_discriminant = 0;;
let tag_elt_variant = 1;;