Branch: Tag:

2015-06-11

2015-06-11 10:09:13 by Martin Karlgren <marty@roxen.com>

count_memory: avoid visiting refs at all in negative lookahead mode.

2242:   PMOD_EXPORT void visit_string (struct pike_string *s, int action, void *extra)   {    visit_enter(s, T_STRING, extra); -  switch (action) { +  switch (action & VISIT_MODE_MASK) {   #ifdef PIKE_DEBUG    default:    Pike_fatal ("Unknown visit action %d.\n", action);