diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-02-18 13:06:58 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-02-18 13:06:58 +0100 |
commit | 71260eff997f5d3c25d9ccda92b8176c893be26d (patch) | |
tree | 8626b46263b5bbae1a034c923a58e2211c2359a3 /backend/PrintAsm.ml | |
parent | 8677f50de8515bd83221e6a3d79b0f3d6dae4cbf (diff) | |
download | compcert-kvx-71260eff997f5d3c25d9ccda92b8176c893be26d.tar.gz compcert-kvx-71260eff997f5d3c25d9ccda92b8176c893be26d.zip |
Changed print_fun/var_info to be functions instead of booleans.
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r-- | backend/PrintAsm.ml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml index 532de044..fb03d96b 100644 --- a/backend/PrintAsm.ml +++ b/backend/PrintAsm.ml @@ -44,8 +44,7 @@ module Printer(Target:TARGET) = Target.cfi_startproc oc; Target.print_instructions oc fn; Target.cfi_endproc oc; - if Target.print_fun_info then - print_fun_info oc name; + Target.print_fun_info oc name; Target.emit_constants oc lit; Target.print_jumptable oc jmptbl @@ -78,8 +77,7 @@ module Printer(Target:TARGET) = fprintf oc " .global %a\n" symbol name; fprintf oc "%a:\n" symbol name; print_init_data oc name v.gvar_init; - if Target.print_var_info then - print_var_info oc name; + Target.print_var_info oc name; end else let sz = match v.gvar_init with [Init_space sz] -> sz | _ -> assert false in |