[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Part_combine_iterator::derived_mark: don't abort marking prematurely
Re: Part_combine_iterator::derived_mark: don't abort marking prematurely. (issue 6057044)
Wed, 18 Apr 2012 05:51:23 +0000
On 2012/04/18 05:49:01, dak wrote:
On 2012/04/18 04:39:20, dak wrote:
> One could instead use a static array with pointers-to-member
> offsets), and then dereference them. In that case, a 0 entry would
> as an ending mark.
> But for 4 entries?
static Stream_event * Part_combine_iterator::* ptrs
for (int i = 0; ptrs[i]; i++)
Uh, if (this->*ptrs[i]) of course
scm_gc_mark ((this->*ptrs[i])->self_scm ());