tree-inline.c (remap_gimple_stmt): Cache gimple_block.
authorRichard Biener <rguenther@suse.de>
Tue, 26 Mar 2019 14:56:30 +0000 (14:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Mar 2019 14:56:30 +0000 (14:56 +0000)
commitcf66c831c1e05bbea0ef859ed3ae0027c476c618
tree31b1a9089a51542a6f00d1b9233f09e2a5a8ff29
parentecbb1530e317e8b405d29dead5b080fe2ef9f50c
tree-inline.c (remap_gimple_stmt): Cache gimple_block.

2019-03-26  Richard Biener  <rguenther@suse.de>

* tree-inline.c (remap_gimple_stmt): Cache gimple_block.
(copy_debug_stmt): Likewise.
(expand_call_inline): Likewise.
(copy_bb): Avoid redundant lookup & set of gimple_block.
* gimple-low.c (lower_gimple_return): Likewise.
(lower_builtin_setjmp): Likewise.

From-SVN: r269946
gcc/ChangeLog
gcc/gimple-low.c
gcc/tree-inline.c