*** empty log message ***

This commit is contained in:
2005-07-07 07:45:05 +00:00
parent e73fb585bd
commit 516fee2ea7
17 changed files with 179 additions and 58 deletions

View File

@@ -1,14 +1,28 @@
/*
* $Id: bytecode.h,v 1.1 2005-07-05 11:38:01 bacon Exp $
* $Id: bytecode.h,v 1.2 2005-07-07 07:45:05 bacon Exp $
*/
#ifndef _XP_STX_BYTECODE_H_
#define _XP_STX_BYTECODE_H_
#define PUSH_VARIABLE 0x1
#define PUSH_ARGUMENT 0x2
#define PUSH_TEMPORARY 0x3
#define PUSH_LITERAL 0x4
#define DO_PRIMITIVE 0xF
#include <xp/stx/stx.h>
#define PUSH_VARIABLE 0x0
#define PUSH_ARGUMENT 0x1
#define PUSH_TEMPORARY 0x2
#define PUSH_LITERAL 0x3
#define DO_SPECIAL 0x5
#define DO_PRIMITIVE 0x6
#define DO_PRIMITIVE_EXTENDED 0xF
#ifdef __cplusplus
extern "C" {
#endif
int xp_stx_decode (xp_stx_t* stx, xp_word_t class_idx);
#ifdef __cplusplus
}
#endif
#endif