aboutsummaryrefslogtreecommitdiffstats
path: root/debug/Debug.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 /debug/Debug.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 'debug/Debug.ml')
-rw-r--r--debug/Debug.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/debug/Debug.ml b/debug/Debug.ml
index 775a0903..7403d7c2 100644
--- a/debug/Debug.ml
+++ b/debug/Debug.ml
@@ -12,9 +12,8 @@
open AST
open BinNums
-open C
+open !C
open Camlcoq
-open Dwarfgen
open DwarfTypes
open Sections
@@ -32,7 +31,7 @@ type implem =
add_fun_addr: atom -> section_name -> (int * int) -> unit;
generate_debug_info: (atom -> string) -> string -> debug_entries option;
all_files_iter: (string -> unit) -> unit;
- insert_local_declaration: storage -> ident -> typ -> location -> unit;
+ insert_local_declaration: storage -> ident -> C.typ -> location -> unit;
atom_local_variable: ident -> atom -> unit;
enter_scope: int -> int -> int -> unit;
enter_function_scope: int -> int -> unit;