Main Page | Class List | Directories | File List | Class Members | File Members

peep.h

Go to the documentation of this file.
00001 /*
00002 || This file is part of Pike. For copyright information see COPYRIGHT.
00003 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
00004 || for more information.
00005 || $Id: peep.h,v 1.14 2003/11/19 17:19:29 grubba Exp $
00006 */
00007 
00008 #ifndef PEEP_H
00009 #define PEEP_H
00010 
00011 #include "dynamic_buffer.h"
00012 extern dynamic_buffer instrbuf;
00013 
00014 struct p_instr_s
00015 {
00016   short opcode;
00017   short line;
00018   struct pike_string *file;
00019   INT32 arg;
00020   INT32 arg2;
00021 };
00022 
00023 typedef struct p_instr_s p_instr;
00024 
00025 /* Prototypes begin here */
00026 void init_bytecode(void);
00027 void exit_bytecode(void);
00028 ptrdiff_t insert_opcode2(unsigned int f,
00029                          INT32 a,
00030                          INT32 b,
00031                          INT32 current_line,
00032                          struct pike_string *current_file);
00033 ptrdiff_t insert_opcode1(unsigned int f,
00034                          INT32 a,
00035                          INT32 current_line,
00036                          struct pike_string *current_file);
00037 ptrdiff_t insert_opcode0(int f,int current_line,
00038                          struct pike_string *current_file);
00039 void update_arg(int instr,INT32 arg);
00040 INT32 assemble(int store_linenumbers);
00041 /* Prototypes end here */
00042 
00043 #endif

Generated on Fri Jul 22 23:44:26 2005 for Pike by  doxygen 1.3.9.1