pike.git/
src/
program.c
Branch:
Tag:
Non-build tags
All tags
No tags
2001-05-14
2001-05-14 03:32:06 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
487c8ef8690134827937151eb474ef1a094b18c2 (
36
lines) (+
17
/-
19
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix for gc on programs with PROGRAM_AVOID_CHECK
Rev: src/program.c:1.321
5:
\*/ /**/ #include "global.h"
-
RCSID("$Id: program.c,v 1.
320
2001/05/
10
22
:
14
:
38
hubbe Exp $");
+
RCSID("$Id: program.c,v 1.
321
2001/05/
14
03
:
32
:
06
hubbe Exp $");
#include "program.h" #include "object.h" #include "dynamic_buffer.h"
4427:
Inside #if defined(GC2)
GC_CYCLE_ENTER(p, weak) { int e;
-
if (p->flags & PROGRAM_AVOID_CHECK)
-
/* Program is in an inconsistent state.
-
* don't look closer at it.
-
*/
-
return;
-
+
if (
!(
p->flags & PROGRAM_AVOID_CHECK)
)
+
{
if(p->parent) gc_cycle_check_program(p->parent, 0);
4447:
Inside #if defined(GC2)
if(e && p->inherits[e].prog) gc_cycle_check_program(p->inherits[e].prog, 0); }
+
}
} GC_CYCLE_LEAVE; }