aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsm.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
committerXavier Leroy <xavierleroy@users.noreply.github.com>2016-03-21 10:18:51 +0100
commit20eef936dce1ef98b5b422c90cc9e072fb0d75ab (patch)
tree2690be164dc36fad63fc0f42e943d0fcb0735532 /backend/PrintAsm.ml
parentfdf4cac2439a7168bd005efbde4a1f76a00ada66 (diff)
parent01e32a075023ce7b037d42d048b1904ba3d9a82b (diff)
downloadcompcert-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.tar.gz
compcert-20eef936dce1ef98b5b422c90cc9e072fb0d75ab.zip
Merge pull request #92 from AbsInt/cleanup
This PR activates more OCaml warnings and turns all warnings into errors. Also some unused functions, variables and types are removed.
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r--backend/PrintAsm.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index 6c1eda57..96aa080e 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -12,9 +12,8 @@
(* *********************************************************************)
open AST
-open Asm
open Camlcoq
-open Datatypes
+open !Datatypes
open DwarfPrinter
open PrintAsmaux
open Printf
@@ -119,7 +118,7 @@ module Printer(Target:TARGET) =
module DebugPrinter = DwarfPrinter (DwarfTarget)
end
-let print_program oc p db =
+let print_program oc p =
let module Target = (val (sel_target ()):TARGET) in
let module Printer = Printer(Target) in
Fileinfo.reset_filenames ();