Branch: Tag:

2003-03-20

2003-03-20 18:02:57 by Martin Stjernholm <mast@lysator.liu.se>

Backported opcode level trace and debug fixes from 7.5.

Rev: lib/master.pike.in:1.242
Rev: src/code/ia32.c:1.25
Rev: src/interpret.c:1.287
Rev: src/interpret.h:1.121
Rev: src/interpreter.h:1.81
Rev: src/program.h:1.175

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: program.h,v 1.174 2003/02/24 21:00:44 mast Exp $ + || $Id: program.h,v 1.175 2003/03/20 18:02:57 mast Exp $   */      #ifndef PROGRAM_H
109:   #define PIKE_OPCODE_T unsigned INT32   #elif PIKE_BYTECODE_METHOD == PIKE_BYTECODE_GOTO   #define PIKE_OPCODE_T void * + #define PIKE_INSTR_T void *   #else   #define PIKE_OPCODE_T unsigned INT8   #endif    -  + #ifndef PIKE_INSTR_T + /* The type for an opcode instruction identifier (not packed). In all +  * cases but PIKE_BYTECODE_GOTO, this is n - F_OFFSET where n is the +  * number in the Pike_opcodes enum. */ + #define PIKE_INSTR_T unsigned int + #endif +    /* I need:    * a) one type that can point to a callable function.    * (C function, or object->fun)