5 #ifndef __MONO_METADATA_OPCODES_H__
6 #define __MONO_METADATA_OPCODES_H__
9 * opcodes.h: CIL instruction information
12 * Paolo Molaro (lupus@ximian.com)
14 * (C) 2002 Ximian, Inc.
17 #include <mono/utils/mono-publib.h>
21 #define MONO_CUSTOM_PREFIX 0xf0
23 #define OPDEF(a,b,c,d,e,f,g,h,i,j) \
26 typedef enum MonoOpcodeEnum
{
27 MonoOpcodeEnum_Invalid
= -1,
28 #include "mono/cil/opcode.def"
37 MONO_FLOW_COND_BRANCH
,
53 MonoShortInlineVar
= 8,
54 MonoInlineBrTarget
= 9,
55 MonoShortInlineBrTarget
= 10,
56 MonoInlineSwitch
= 11,
58 MonoShortInlineR
= 13,
60 MonoShortInlineI
= 15,
65 unsigned char argument
;
66 unsigned char flow_type
;
70 MONO_API_DATA
const MonoOpcode mono_opcodes
[];
73 mono_opcode_name (int opcode
);
75 MONO_API MonoOpcodeEnum
76 mono_opcode_value (const mono_byte
**ip
, const mono_byte
*end
);
80 #endif /* __MONO_METADATA_OPCODES_H__ */