Branch: Tag:

2001-08-02

2001-08-02 22:24:54 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

keep track of what functions can be addressed statically

Rev: src/code/ia32.c:1.14
Rev: src/constants.c:1.32
Rev: src/constants.h:1.19
Rev: src/dynamic_load.c:1.53

5:   \*/      /* -  * $Id: constants.h,v 1.18 2001/07/02 04:09:47 hubbe Exp $ +  * $Id: constants.h,v 1.19 2001/08/02 22:24:54 hubbe Exp $    */   #ifndef ADD_EFUN_H   #define ADD_EFUN_H
18:   typedef int (*docode_fun)(node *n);   typedef node *(*optimize_fun)(node *n);    + #define CALLABLE_DYNAMIC 1 +    struct callable   {    PIKE_MEMORY_OBJECT_MEMBERS;    c_fun function;    struct pike_type *type;    struct pike_string *name; -  INT16 flags; +  INT16 flags; /* OPT_* */ +  INT16 internal_flags;   #ifdef PIKE_DEBUG    INT8 may_return_void;    long compiles;