Branch: Tag:

2008-02-27

2008-02-27 23:59:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Changed the definition of Pike_fp->context to a pointer.
This should reduce the overhead for apply() somewhat.

Rev: src/apply_low.h:1.33
Rev: src/builtin.cmod:1.194
Rev: src/interpret.c:1.386
Rev: src/interpret.h:1.171
Rev: src/interpret_functions.h:1.200
Rev: src/modules/Gmp/mpz_glue.c:1.171
Rev: src/object.c:1.282
Rev: src/object.h:1.93
Rev: src/opcodes.c:1.170
Rev: src/operators.c:1.227
Rev: src/program.c:1.653

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: mpz_glue.c,v 1.170 2008/01/26 22:34:25 mast Exp $ + || $Id: mpz_glue.c,v 1.171 2008/02/27 23:59:24 grubba Exp $   */      #include "global.h"
57:      #undef THIS   #define THIS ((MP_INT *)(fp->current_storage)) - #define THIS_PROGRAM (fp->context.prog) + #define THIS_PROGRAM (fp->context->prog)      struct program *mpzmod_program = NULL;   #ifdef AUTO_BIGNUM