From 5492b5b55afa68e3d628da07ff583a0cac79b7e3 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 28 Sep 2015 13:36:53 +0200 Subject: Added location for the formal parameters and move the end of all scopes before the last statement. --- debug/DebugInit.ml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'debug/DebugInit.ml') 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 -- cgit