diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-05-04 17:58:40 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-05-04 17:58:40 +0000 |
commit | 362440248c3d5f5805aeb52c21c20036f0dbb361 (patch) | |
tree | 1e440c93b0cf9b6ab0028a87f03704e2286e4b61 /gcc/predict.c | |
parent | 57c578a6bfed5ffa4da16984b9f92a41d5bd68cb (diff) | |
download | gcc-362440248c3d5f5805aeb52c21c20036f0dbb361.zip gcc-362440248c3d5f5805aeb52c21c20036f0dbb361.tar.gz gcc-362440248c3d5f5805aeb52c21c20036f0dbb361.tar.bz2 |
bb-reorder.c (get_next_bb_note, [...]): Prototype.
* bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
* diagnostic (vbuild_message_string, build_message_string,
build_location_prefix, output_get_prefix, init_output_buffer,
output_notice, vline_wrapper_message_with_location,
v_message_with_decl, default_print_error_function): De-constify.
(set_real_maximum_length): Prototype.
* diagnostic.h (struct output_buffer, init_output_buffer,
output_get_prefix, output_set_prefix): De-constify.
* function.c (init_function_start): Constify.
* gensupport.c (remove_constraints, process_rtx): Prototype.
* gthr-posix.h: Indent uses of #pragma.
* objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
Prototype.
* predict.c (find_expected_value): Delete prototype.
(expected_value_to_br_prob): Initialize variable `ev_reg'.
* sbitmap.h (debug_sbitmap): Prototype.
* ssa.c (compute_coalesced_reg_partition): Prototype.
* stor-layout.c (debug_rli): Prototype.
* tree.h (round_down): Prototype.
(init_function_start): Constify.
ch:
* ch-tree.h (init_function_start): Constify.
From-SVN: r33675
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 6900f0e..b957e5f6 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -216,12 +216,10 @@ estimate_probability (loops_info) expected values of registers. Generate branch probabilities based off these values. */ -static rtx find_expected_value PARAMS ((rtx, rtx)); - void expected_value_to_br_prob () { - rtx insn, cond, ev = NULL_RTX, ev_reg; + rtx insn, cond, ev = NULL_RTX, ev_reg = NULL_RTX; for (insn = get_insns (); insn ; insn = NEXT_INSN (insn)) { |