Branch: Tag:

1998-01-29

1998-01-29 22:53:57 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

inline should now work better.... + a huge memory leak fixed

Rev: src/array.h:1.7
Rev: src/mapping.h:1.8
Rev: src/multiset.h:1.6
Rev: src/object.c:1.36
Rev: src/object.h:1.16
Rev: src/pike_memory.c:1.11
Rev: src/program.c:1.61
Rev: src/program.h:1.30

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: program.c,v 1.60 1998/01/29 17:43:22 hubbe Exp $"); + RCSID("$Id: program.c,v 1.61 1998/01/29 22:53:56 hubbe Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
421:   #else    fake_object=ALLOC_STRUCT(object);   #endif +  GC_ALLOC();       fake_object->next=fake_object;    fake_object->prev=fake_object;
579:      static void toss_compilation_resources(void)   { +  if(fake_object) +  { +  free_program(fake_object->prog); +  fake_object->prog=0; +  free_object(fake_object); +  fake_object=0; +  } +     free_program(new_program);    new_program=0;   
588:    malloc_size_program=0;    }    -  if(fake_object) -  { -  fake_object->prog=0; -  free_object(fake_object); -  fake_object=0; -  } -  +     while(compiler_frame)    pop_compiler_frame();