diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 18:05:34 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-21 18:05:34 +0000 |
commit | 1fa3a8f66768099084e7c38d01b4db12d375ef43 (patch) | |
tree | a6170c4a24e29bff50c537b8652482d6d413b2a3 /gcc/vec.h | |
parent | e742ea5ccf556e82a1a979dc794f0f3b4e14b609 (diff) | |
download | gcc-1fa3a8f66768099084e7c38d01b4db12d375ef43.tar.gz |
* lambda.h (lambda_vector_min_nz): Likewise.
* langhooks.h (struct lang_hooks_for_types,
struct lang_hooks): Likewise.
* output.h (assemble_integer, this_is_asm_operands): Likewise.
* tree.h: Likewise.
* vec.h: Likewise.
* tree-flow-inline.h (relink_imm_use): Use gcc_assert.
* optabs.c (prepare_cmp_insn, emit_cmp_and_jump_insns): Reword
comments to avoid 'abort'. Use gcc_assert as necessary.
* opts.c (common_handle_option): Likewise.
* pretty-print.c (pp_base_format_text): Likewise.
* print-rtl.c (print_rtx): Likewise.
* read-rtl.c (read_rtx_filename, read_rtx_1): Likewise.
* regmove.c (try_auto_increment): Likewise.
* reload.c (find_valid_class, find_reloads_toplev,
find_equiv_reg): Likewise.
* reload1.c (reload, forget_old_reloads_1, function_invariant_p,
merge_assigned_reloads): Likewise.
* tree-inline.c (inline_forbidden_p_1,
estimate_num_insns_1): Likewise.
* tree-optimize.c (execute_todo): Likewise.
* tree-outof-ssa.c (eliminate_phi): Likewise.
* tree-ssa-alias.c (add_pointed_to_expr): Likewise.
* tree-ssa-ccp.c (maybe_fold_stmt_indirect): Likewise.
* tree-ssa-operands.c (parse_ssa_operands,
get_indirect_ref_operands, create_ssa_artficial_load_stmt): Likewise.
* tree-ssa-pre.c (find_or_generate_expression): Likewise.
* tree-ssanames.c (release_ssa_name): Likewise.
* tree.c (int_bit_position, int_byte_position, tree_low_cst,
walk_tree): Likewise.
* tree-ssa-operands.c (verify_abort): Fold into ..
(verify_imm_links): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/vec.h')
-rw-r--r-- | gcc/vec.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gcc/vec.h b/gcc/vec.h index 43aeb817d64..2c05fa13859 100644 --- a/gcc/vec.h +++ b/gcc/vec.h @@ -61,7 +61,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA Each operation that increases the number of active elements is available in 'quick' and 'safe' variants. The former presumes that there is sufficient allocated space for the operation to succeed - (it aborts if there is not). The latter will reallocate the + (it dies if there is not). The latter will reallocate the vector, if needed. Reallocation causes an exponential increase in vector size. If you know you will be adding N elements, it would be more efficient to use the reserve operation before adding the @@ -150,7 +150,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA T VEC_T_last(VEC(T) *v); // Pointer T *VEC_T_last(VEC(T) *v); // Object - Return the final element. If V is empty, abort. */ + Return the final element. V must not be empty. */ #define VEC_last(T,V) (VEC_OP(T,base,last)(VEC_BASE(V) VEC_CHECK_INFO)) @@ -158,8 +158,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA T VEC_T_index(VEC(T) *v, unsigned ix); // Pointer T *VEC_T_index(VEC(T) *v, unsigned ix); // Object - Return the IX'th element. If IX is outside the domain of V, - abort. */ + Return the IX'th element. If IX must be in the domain of V. */ #define VEC_index(T,V,I) (VEC_OP(T,base,index)(VEC_BASE(V),I VEC_CHECK_INFO)) @@ -234,8 +233,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA Push a new element onto the end, returns a pointer to the slot filled in. For object vectors, the new value can be NULL, in which - case NO initialization is performed. Aborts if there is - insufficient space in the vector. */ + case NO initialization is performed. There must + be sufficient space in the vector. */ #define VEC_quick_push(T,V,O) \ (VEC_OP(T,base,quick_push)(VEC_BASE(V),O VEC_CHECK_INFO)) @@ -299,7 +298,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA Insert an element, VAL, at the IXth position of V. Return a pointer to the slot created. For vectors of object, the new value can be NULL, in which case no initialization of the inserted slot takes - place. Aborts if there is insufficient space. */ + place. There must be sufficient space. */ #define VEC_quick_insert(T,V,I,O) \ (VEC_OP(T,base,quick_insert)(VEC_BASE(V),I,O VEC_CHECK_INFO)) |