stmt.c: Use rtx_insn
gcc/ 2014-08-22 David Malcolm <dmalcolm@redhat.com> * stmt.c (expand_case): Strengthen local "before_case" from rtx to rtx_insn *. (expand_sjlj_dispatch_table): Likewise. From-SVN: r214383
This commit is contained in:
parent
21f110ce8c
commit
daf403511d
|
@ -1,3 +1,9 @@
|
|||
2014-08-22 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* stmt.c (expand_case): Strengthen local "before_case" from rtx to
|
||||
rtx_insn *.
|
||||
(expand_sjlj_dispatch_table): Likewise.
|
||||
|
||||
2014-08-22 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
* stack-ptr-mod.c (pass_stack_ptr_mod::execute): Strengthen local
|
||||
|
|
|
@ -1239,7 +1239,7 @@ expand_case (gimple stmt)
|
|||
type, so we should never get a zero here. */
|
||||
gcc_assert (count > 0);
|
||||
|
||||
rtx before_case = get_last_insn ();
|
||||
rtx_insn *before_case = get_last_insn ();
|
||||
|
||||
/* Decide how to expand this switch.
|
||||
The two options at this point are a dispatch table (casesi or
|
||||
|
@ -1283,7 +1283,7 @@ expand_sjlj_dispatch_table (rtx dispatch_index,
|
|||
int ncases = dispatch_table.length ();
|
||||
|
||||
do_pending_stack_adjust ();
|
||||
rtx before_case = get_last_insn ();
|
||||
rtx_insn *before_case = get_last_insn ();
|
||||
|
||||
/* Expand as a decrement-chain if there are 5 or fewer dispatch
|
||||
labels. This covers more than 98% of the cases in libjava,
|
||||
|
|
Loading…
Reference in New Issue