Skip to content

Commit 3dcd846

Browse files
committed
fix initialization of assembly comments flag
1 parent 6469b6e commit 3dcd846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/amd64/emit.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ let begin_assembly unix =
23572357
Asm_targets.Asm_label.initialize ~new_label:(fun () ->
23582358
Cmm.new_label () |> Label.to_int);
23592359
ND.initialize ~big_endian:Arch.big_endian
2360-
~emit_assembly_comments:false
2360+
~emit_assembly_comments:!Flambda_backend_flags.dasm_comments
23612361
(* As a first step, we emit by calling the corresponding x86 emit
23622362
directives. *) ~emit:(fun d ->
23632363
List.iter directive (to_x86_directive d));

0 commit comments

Comments
 (0)