Branch: Tag:

2001-09-01

2001-09-01 00:27:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

only check for malloced locals in things that can have malloced locals (.17 s to go)

Rev: src/interpret.c:1.247
Rev: src/interpret.h:1.102
Rev: src/program.c:1.368

5:   \*/      /* -  * $Id: interpret.h,v 1.101 2001/08/31 06:57:03 hubbe Exp $ +  * $Id: interpret.h,v 1.102 2001/09/01 00:27:31 hubbe Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H
240:      #define free_pike_frame(F) do{ struct pike_frame *f_=(F); debug_malloc_touch(f_); if(!--f_->refs) really_free_pike_frame(f_); }while(0)    + /* A scope is any frame which may have malloced locals */ + #define free_pike_scope(F) do{ struct pike_frame *f_=(F); debug_malloc_touch(f_); if(!--f_->refs) really_free_pike_scope(f_); }while(0) +    #define POP_PIKE_FRAME() do { \    struct pike_frame *tmp_=Pike_fp->next; \    if(!--Pike_fp->refs) \