aboutsummaryrefslogtreecommitdiff
path: root/gcc/lra.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-06-04 17:34:49 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-06-04 17:34:49 +0000
commit0c3317563e01d865568dd8baa2986e0f4fa122a8 (patch)
tree4d20cb81abcbd2bea386b3be0574e656bdc919f4 /gcc/lra.h
parent1145837df5c8c6c7664551878d216671ecf8ef6e (diff)
downloadgcc-0c3317563e01d865568dd8baa2986e0f4fa122a8.zip
gcc-0c3317563e01d865568dd8baa2986e0f4fa122a8.tar.gz
gcc-0c3317563e01d865568dd8baa2986e0f4fa122a8.tar.bz2
lra-int.h (lra_static_insn_data): Make operand_alternative a const pointer.
gcc/ * lra-int.h (lra_static_insn_data): Make operand_alternative a const pointer. (target_lra_int, default_target_lra_int, this_target_lra_int) (op_alt_data): Delete. * lra.h (lra_init): Delete. * lra.c (default_target_lra_int, this_target_lra_int): Delete. (init_insn_code_data_once): Remove op_alt_data handling. (finish_insn_code_data_once): Likewise. (init_op_alt_data): Delete. (get_static_insn_data): Initialize operand_alternative to null. (free_insn_recog_data): Cast operand_alternative before freeing it. (setup_operand_alternative): Take the operand_alternative as parameter and assume it isn't already cached in the static insn data. (lra_set_insn_recog_data): Update accordingly. (lra_init): Delete. * ira.c (ira_init): Don't call lra_init. * target-globals.h (this_target_lra_int): Declare. (target_globals): Remove lra_int. (restore_target_globals): Update accordingly. * target-globals.c: Don't include lra-int.h. (default_target_globals, save_target_globals): Remove lra_int. From-SVN: r211241
Diffstat (limited to 'gcc/lra.h')
-rw-r--r--gcc/lra.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/lra.h b/gcc/lra.h
index 5dd8a0b..4d67484 100644
--- a/gcc/lra.h
+++ b/gcc/lra.h
@@ -36,5 +36,4 @@ extern rtx lra_create_new_reg (enum machine_mode, rtx, enum reg_class,
extern rtx lra_eliminate_regs (rtx, enum machine_mode, rtx);
extern void lra (FILE *);
extern void lra_init_once (void);
-extern void lra_init (void);
extern void lra_finish_once (void);