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: b81aa05fa19a748e04808145cd8b7241f785693c
2
+ refs/heads/master: 59c9e6caffadcfee9216ac289ae0b306fc2e55eb
Original file line number Diff line number Diff line change @@ -1344,8 +1344,10 @@ let trans_visitor
1344
1344
let is_stateful =
1345
1345
if (force_stateful || type_has_state cx t) then 1L else 0L
1346
1346
in
1347
- log cx " tydesc for %a has sz=%Ld, align=%Ld, is_stateful=%Ld"
1348
- Ast. sprintf_ty t sz align is_stateful;
1347
+ iflog
1348
+ (fun _ ->
1349
+ log cx " tydesc for %a has sz=%Ld, align=%Ld, is_stateful=%Ld"
1350
+ Ast. sprintf_ty t sz align is_stateful);
1349
1351
Asm. DEF
1350
1352
(tydesc_fixup,
1351
1353
Asm. SEQ
@@ -5955,7 +5957,7 @@ let trans_visitor
5955
5957
let (header_tup, oid, i) = tag in
5956
5958
let tinfo = Hashtbl. find cx.ctxt_all_tag_info oid in
5957
5959
let (n, _, _) = Hashtbl. find tinfo.tag_nums i in
5958
- let _ = log cx " tag variant: %s -> tag value #%d" n i in
5960
+ let _ = iflog ( fun _ -> log cx " tag variant: %s -> tag value #%d" n i) in
5959
5961
let (dst_cell, dst_slot) = get_current_output_cell_and_slot() in
5960
5962
let dst_cell = deref_slot true dst_cell dst_slot in
5961
5963
let tag_cell = get_element_ptr dst_cell Abi. tag_elt_discriminant in
You can’t perform that action at this time.
0 commit comments