File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 31aceda09eb0541c97a6adeaf41b041da3c7fd18
2
+ refs/heads/master: b6b348a13ce33227a01839d41b8ae055a9eacdca
Original file line number Diff line number Diff line change @@ -792,17 +792,19 @@ let crate_exports (sem:Semant.ctxt) : pe_export array =
792
792
pe_export_address_fixup = fixup
793
793
}
794
794
in
795
- let export_stab_of_fn (node_id , fixup ) =
795
+ let export_stab_of_item (node_id , code ) =
796
796
let name = Hashtbl. find sem.Semant. ctxt_all_item_names node_id in
797
- export_stab (" fn$" ^ (Semant. string_of_name name)) fixup
797
+ let name' = " item$" ^ (Semant. string_of_name name) in
798
+ export_stab name' code.Semant. code_fixup
798
799
in
799
800
let export_stab_of_glue (glue , code ) =
800
801
export_stab (Semant. glue_str sem glue) code.Semant. code_fixup
801
802
in
802
803
803
804
let stabs =
804
805
Array. of_list (List. concat [
805
- (List. map export_stab_of_fn (htab_pairs sem.Semant. ctxt_fn_fixups));
806
+ (List. map export_stab_of_item
807
+ (htab_pairs sem.Semant. ctxt_all_item_code));
806
808
(List. map export_stab_of_glue (htab_pairs sem.Semant. ctxt_glue_code))
807
809
])
808
810
in
You can’t perform that action at this time.
0 commit comments