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: builtin.cmod,v 1.193 2008/01/26 22:34:17 mast Exp $ + || $Id: builtin.cmod,v 1.194 2008/02/27 23:59:12 grubba Exp $   */      #include "global.h"
1608:       bf = OBJ2_BACKTRACE_FRAME(o);    -  if ((bf->prog = f->context.prog)) { +  if ((bf->prog = f->context->prog)) {    add_ref(bf->prog);    bf->pc = f->pc;    }