aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-07-08 21:37:33 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-07-08 21:37:33 +0000
commit079e0f619684ff63b32e0fa02f460f57e271e3b4 (patch)
treeff17df21be3c5b5b770cb74f641aa2ca99793d01 /gcc/rtl.h
parentc83faba13da6d67e6784b3781419cd0605700daf (diff)
downloadgcc-079e0f619684ff63b32e0fa02f460f57e271e3b4.zip
gcc-079e0f619684ff63b32e0fa02f460f57e271e3b4.tar.gz
gcc-079e0f619684ff63b32e0fa02f460f57e271e3b4.tar.bz2
emit-rtl.c (set_insn_locations): New function moved from...
* emit-rtl.c (set_insn_locations): New function moved from... * function.c (set_insn_locations): ...here. * ira-emit.c (emit_moves): Propagate location of the first instruction to the inserted move instructions. * reg-stack.c (compensate_edge): Set the location if the sequence is inserted on the edge. * rtl.h (set_insn_locations): Declare. From-SVN: r273247
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 31fba82..a4fde4e 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -4338,6 +4338,7 @@ extern void insn_locations_init (void);
extern void insn_locations_finalize (void);
extern void set_curr_insn_location (location_t);
extern location_t curr_insn_location (void);
+extern void set_insn_locations (rtx_insn *, location_t);
/* rtl-error.c */
extern void _fatal_insn_not_found (const_rtx, const char *, int, const char *)