summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/native/jni/java-io/java_io_VMObjectInputStream.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-17 17:42:10 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-17 17:42:10 +0000
commit24ffec381da401721f40291e7ad36e836f080b32 (patch)
treed11736fef8af73b7b6d37819f905d5ad1e594615 /libjava/classpath/native/jni/java-io/java_io_VMObjectInputStream.c
parentcdc165b9e5fbb885a1129671a6c77bcb5f0f6be6 (diff)
downloadppe42-gcc-24ffec381da401721f40291e7ad36e836f080b32.tar.gz
ppe42-gcc-24ffec381da401721f40291e7ad36e836f080b32.zip
./:
* vec.h (VEC_reserve_exact): Define. (vec_gc_p_reserve_exact): Declare. (vec_gc_o_reserve_exact): Declare. (vec_heap_p_reserve_exact): Declare. (vec_heap_o_reserve_exact): Declare. (VEC_OP (T,A,reserve_exact)): New static inline function, three versions. (VEC_OP (T,A,reserve)) [all versions]: Remove handling of negative parameter. (VEC_OP (T,A,alloc)) [all versions]: Call ...reserve_exact. (VEC_OP (T,A,copy)) [all versions]: Likewise. (VEC_OP (T,a,safe_grow)) [all versions]: Likewise. * vec.c (calculate_allocation): Add exact parameter. Change all callers. (vec_gc_o_reserve_1): New static function, from vec_gc_o_reserve. (vec_gc_p_reserve, vec_gc_o_reserve): Call vec_gc_o_reserve_1. (vec_gc_p_reserve_exact, vec_gc_o_reserve_exact): New functions. (vec_heap_o_reserve_1): New static function, from vec_heap_o_reserve. (vec_heap_p_reserve, vec_heap_o_reserve): Call vec_heap_o_reserve_1. (vec_heap_p_reserve_exact): New function. (vec_heap_o_reserve_exact): New function. cp/: * class.c (add_method): Call VEC_reserve_exact rather than passing a negative size to VEC_reserve. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120861 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/native/jni/java-io/java_io_VMObjectInputStream.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud