pike.git/src/lex.c:1:
/*
|| 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: lex.c,v 1.112 2002/11/10 20:19:18 grubba Exp $
+ || $Id: lex.c,v 1.113 2003/03/20 17:44:54 mast Exp $
*/
#include "global.h"
- RCSID("$Id: lex.c,v 1.112 2002/11/10 20:19:18 grubba Exp $");
+ RCSID("$Id: lex.c,v 1.113 2003/03/20 17:44:54 mast Exp $");
#include "language.h"
#include "array.h"
#include "lex.h"
#include "stralloc.h"
#include "dynamic_buffer.h"
#include "constants.h"
#include "hashtable.h"
#include "stuff.h"
#include "pike_memory.h"
#include "interpret.h"
pike.git/src/lex.c:69: Inside #if defined(INSTR_PROFILING)
fprintf(stderr,"-p%d: out of memory.\n",p_flag);
exit(2);
}
dmalloc_accept_leak(d);
d->runned=0;
for(e=0;e<F_MAX_OPCODE-F_OFFSET;e++)
d->next[e]=init_instr_storage_pointers(depth-1);
return d;
}
- void add_runned(PIKE_OPCODE_T instr)
+ void add_runned(PIKE_INSTR_T instr)
{
int e;
struct instr_counter **tmp=&instr_counter_storage;
for(e=0;e<p_flag;e++)
{
tmp[0]->runned++;
tmp=tmp[0]->next + last_instruction[e];
last_instruction[e]=last_instruction[e+1];
}
pike.git/src/lex.c:425:
sprintf(buf, "Call efun %d", n - F_MAX_OPCODE);
return buf;
}
}else{
sprintf(buf, "<OTHER %d>", n);
return buf;
}
}
#ifdef HAVE_COMPUTED_GOTO
- char *get_opcode_name(PIKE_OPCODE_T n)
+ char *get_opcode_name(PIKE_INSTR_T n)
{
int fcode;
int low = 0;
int high = F_MAX_OPCODE - F_OFFSET;
static char buf[64];
if (!n) {
return "<NULL opcode!>";
}