aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsm.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-02 17:10:48 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-02 17:10:48 +0200
commitb511f66bee59d2792427322b7cbaa47c2590358a (patch)
tree92908b19153a10816810012002727899901ef3f1 /backend/PrintAsm.ml
parente005c477da2f9ac9b9490cc30e59412cc626b54d (diff)
parent2bfa77d9eb3940b9b46865f7ebe760365164d312 (diff)
downloadcompcert-b511f66bee59d2792427322b7cbaa47c2590358a.tar.gz
compcert-b511f66bee59d2792427322b7cbaa47c2590358a.zip
Merge branch 'gnu-debug'
Conflicts: debug/DebugInformation.ml
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r--backend/PrintAsm.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index dba578b9..594b43b7 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -122,12 +122,11 @@ module Printer(Target:TARGET) =
let print_program oc p db =
let module Target = (val (sel_target ()):TARGET) in
let module Printer = Printer(Target) in
- reset_filenames ();
+ Fileinfo.reset_filenames ();
print_version_and_options oc Target.comment;
Target.print_prologue oc;
List.iter (Printer.print_globdef oc) p.prog_defs;
Target.print_epilogue oc;
- close_filenames ();
if !Clflags.option_g && Configuration.advanced_debug then
begin
let atom_to_s s =
@@ -141,4 +140,5 @@ let print_program oc p db =
| None -> ()
| Some db ->
Printer.DebugPrinter.print_debug oc db
- end
+ end;
+ Fileinfo.close_filenames ()