From 6f622eba1bb242bbbda107a2ad36245c69841360 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Mon, 12 Oct 2015 13:12:27 +0200 Subject: Fix minor typo introduced by refactoring of debug information. The base register for the stack allocated variables should be r1 and not r2 under powerpc. Bug 17392 --- powerpc/Asmexpand.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'powerpc/Asmexpand.ml') diff --git a/powerpc/Asmexpand.ml b/powerpc/Asmexpand.ml index 9e22e4e0..2fedf0c7 100644 --- a/powerpc/Asmexpand.ml +++ b/powerpc/Asmexpand.ml @@ -719,7 +719,7 @@ let expand_function id fn = try set_current_function fn; if !Clflags.option_g then - expand_debug id 2 preg_to_dwarf expand_instruction fn.fn_code + expand_debug id 1 preg_to_dwarf expand_instruction fn.fn_code else List.iter expand_instruction fn.fn_code; Errors.OK (get_current_function ()) -- cgit