aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsm.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2019-07-08 10:48:24 +0200
committerGitHub <noreply@github.com>2019-07-08 10:48:24 +0200
commit96383f6dbccd4b280acad395b9a2683a645a9de3 (patch)
tree785fabd5bde83b9a690f9e46eb8e86e3448edfd3 /backend/PrintAsm.ml
parent98858317be25deed815c7a8b5d4e9d6b512f5de5 (diff)
downloadcompcert-kvx-96383f6dbccd4b280acad395b9a2683a645a9de3.tar.gz
compcert-kvx-96383f6dbccd4b280acad395b9a2683a645a9de3.zip
Compatibility with OCaml 4.08 (#302)
* Do not use `Pervasives.xxx` qualified names Starting with OCaml 4.08, `Pervasives` is deprecated in favor of `Stdlib`, and uses of `Pervasives` cause fatal warnings. This commit uses unqualified names instead, as no ambiguity occurs. * Clarify "open" statements OCaml 4.08.0 has stricter warnings concerning open statements that shadow module names. Closes: #300
Diffstat (limited to 'backend/PrintAsm.ml')
-rw-r--r--backend/PrintAsm.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/PrintAsm.ml b/backend/PrintAsm.ml
index dd428808..155f5e55 100644
--- a/backend/PrintAsm.ml
+++ b/backend/PrintAsm.ml
@@ -13,7 +13,6 @@
open AST
open Camlcoq
-open DwarfPrinter
open PrintAsmaux
open Printf
open Sections
@@ -177,7 +176,7 @@ module Printer(Target:TARGET) =
let address = Target.address
end
- module DebugPrinter = DwarfPrinter (DwarfTarget)
+ module DebugPrinter = DwarfPrinter.DwarfPrinter (DwarfTarget)
end
let print_program oc p =