Commit 4e852d1f by Nathan Sidwell Committed by Nathan Sidwell

* vec.h (safe_grow): Remove duplicated line.

From-SVN: r110395
parent 8d9c1aec
2006-01-30 Nathan Sidwell <nathan@codesourcery.com>
* vec.h (safe_grow): Remove duplicated line.
2006-01-29 Diego Novillo <dnovillo@redhat.com> 2006-01-29 Diego Novillo <dnovillo@redhat.com>
PR 25874 PR 25874
......
...@@ -1012,7 +1012,6 @@ static inline void VEC_OP (T,A,safe_grow) \ ...@@ -1012,7 +1012,6 @@ static inline void VEC_OP (T,A,safe_grow) \
VEC_OP (T,A,reserve) (vec_, (int)(*vec_ ? VEC_BASE(*vec_)->num : 0) - size_ \ VEC_OP (T,A,reserve) (vec_, (int)(*vec_ ? VEC_BASE(*vec_)->num : 0) - size_ \
VEC_CHECK_PASS PASS_MEM_STAT); \ VEC_CHECK_PASS PASS_MEM_STAT); \
VEC_BASE (*vec_)->num = size_; \ VEC_BASE (*vec_)->num = size_; \
VEC_BASE (*vec_)->num = size_; \
} \ } \
\ \
static inline T *VEC_OP (T,A,safe_push) \ static inline T *VEC_OP (T,A,safe_push) \
...@@ -1096,7 +1095,6 @@ static inline void VEC_OP (T,A,safe_grow) \ ...@@ -1096,7 +1095,6 @@ static inline void VEC_OP (T,A,safe_grow) \
VEC_OP (T,A,reserve) (vec_, (int)(*vec_ ? VEC_BASE(*vec_)->num : 0) - size_ \ VEC_OP (T,A,reserve) (vec_, (int)(*vec_ ? VEC_BASE(*vec_)->num : 0) - size_ \
VEC_CHECK_PASS PASS_MEM_STAT); \ VEC_CHECK_PASS PASS_MEM_STAT); \
VEC_BASE (*vec_)->num = size_; \ VEC_BASE (*vec_)->num = size_; \
VEC_BASE (*vec_)->num = size_; \
} \ } \
\ \
static inline T *VEC_OP (T,A,safe_push) \ static inline T *VEC_OP (T,A,safe_push) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment