pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:4981:    move_svalue (&throw_value, --Pike_sp);    return -1;    }       return val.u.integer;   }      static void pass_lookahead_visit_ref (void *thing, int ref_type,    visit_thing_fn *visit_fn, void *extra)   { -  struct mc_marker *ref_to = find_mc_marker (thing); +  struct mc_marker *ref_to;    int ref_from_flags, ref_to_flags, old_la_count, ref_to_la_count;    int ref_added = 0, check_new_candidate = 0, la_count_handled = 0;       assert (mc_lookahead >= 0);    assert (mc_pass == MC_PASS_LOOKAHEAD);   #ifdef PIKE_DEBUG    assert (mc_ref_from != (void *) (ptrdiff_t) -1);    assert (mc_ref_from->la_count != ((unsigned INT16) -1) >> 1);   #endif       if (mc_block_strings > 0 &&    visit_fn == (visit_thing_fn *) &visit_string) { -  + #ifdef MEMORY_COUNT_DEBUG +  ref_to = find_mc_marker (thing); + #endif    MC_DEBUG_MSG (ref_to, "ignored string");    return;    }    -  +  ref_to = find_mc_marker (thing);    ref_from_flags = mc_ref_from->flags;       /* Create mc_marker if necessary. */       if (!ref_to) {    ref_to = my_make_mc_marker (thing, visit_fn, extra);    MC_DEBUG_MSG (ref_to, "visiting new thing");    assert (!(ref_from_flags & (MC_FLAG_INT_VISITED | MC_FLAG_LA_VISITED)));    ref_to_la_count = old_la_count = 0;    }