diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-01 09:41:06 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-01 09:41:06 +0200 |
commit | 06a1a35d759dc780e389218b5f78ce3415d4b3cd (patch) | |
tree | 963823fdd3a84b946dffefb956a455b5bef26479 /debug/DebugInit.ml | |
parent | 4421b4168ad82d326665662a1a56a4db3cd41a11 (diff) | |
download | compcert-06a1a35d759dc780e389218b5f78ce3415d4b3cd.tar.gz compcert-06a1a35d759dc780e389218b5f78ce3415d4b3cd.zip |
Remove unused globals also from the debug informations.
Diffstat (limited to 'debug/DebugInit.ml')
-rw-r--r-- | debug/DebugInit.ml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml index 6a50b020..8c74e38e 100644 --- a/debug/DebugInit.ml +++ b/debug/DebugInit.ml @@ -44,7 +44,8 @@ let init_debug () = implem.atom_parameter <- DebugInformation.atom_parameter; implem.add_compilation_section_start <- DebugInformation.add_compilation_section_start; implem.compute_file_enum <- DebugInformation.compute_file_enum; - implem.exists_section <- DebugInformation.exists_section + implem.exists_section <- DebugInformation.exists_section; + implem.remove_unused <- DebugInformation.remove_unused let init_none () = implem.init <- (fun _ -> ()); @@ -71,7 +72,8 @@ let init_none () = implem.add_label <- (fun _ _ _ -> ()); implem.atom_parameter <- (fun _ _ _ -> ()); implem.add_compilation_section_start <- (fun _ _ -> ()); - implem.exists_section <- (fun _ -> true) + implem.exists_section <- (fun _ -> true); + implem.remove_unused <- (fun _ -> ()) let init () = if !Clflags.option_g && Configuration.advanced_debug then |