aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInit.ml
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-09-28 13:36:53 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-09-28 13:36:53 +0200
commit5492b5b55afa68e3d628da07ff583a0cac79b7e3 (patch)
tree65fc4ad3276bc11d88c5b9ed3cf9f96f66425536 /debug/DebugInit.ml
parent89476ea80ecfc7af02ef5026d0f45b61d243e3b0 (diff)
downloadcompcert-kvx-5492b5b55afa68e3d628da07ff583a0cac79b7e3.tar.gz
compcert-kvx-5492b5b55afa68e3d628da07ff583a0cac79b7e3.zip
Added location for the formal parameters and move the end of all
scopes before the last statement.
Diffstat (limited to 'debug/DebugInit.ml')
-rw-r--r--debug/DebugInit.ml7
1 files changed, 5 insertions, 2 deletions
diff --git a/debug/DebugInit.ml b/debug/DebugInit.ml
index 40be9f42..17db4354 100644
--- a/debug/DebugInit.ml
+++ b/debug/DebugInit.ml
@@ -40,7 +40,8 @@ let init_debug () =
implem.end_live_range <- DebugInformation.end_live_range;
implem.stack_variable <- DebugInformation.stack_variable;
implem.function_end <- DebugInformation.function_end;
- implem.add_label <- DebugInformation.add_label
+ implem.add_label <- DebugInformation.add_label;
+ implem.atom_parameter <- DebugInformation.atom_parameter
let init_none () =
implem.init <- (fun _ -> ());
@@ -64,7 +65,9 @@ let init_none () =
implem.end_live_range <- (fun _ _ -> ());
implem.stack_variable <- (fun _ _ -> ());
implem.function_end <- (fun _ _ -> ());
- implem.add_label <- (fun _ _ _ -> ())
+ implem.add_label <- (fun _ _ _ -> ());
+ implem.atom_parameter <- (fun _ _ _ -> ())
+
let init () =
if !Clflags.option_g then