Thu Feb 14 11:49:30 CET 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / metadata / opcodes.c
1 /*
2  * opcodes.c: CIL instruction information
3  *
4  * Author:
5  *   Paolo Molaro (lupus@ximian.com)
6  *
7  * (C) 2002 Ximian, Inc.
8  */
9 #include <mono/metadata/opcodes.h>
10 #include <stddef.h> /* for NULL */
11
12 #define OPDEF(a,b,c,d,e,f,g,h,i,j) \
13         { Mono ## e, MONO_FLOW_ ## j, ((g-1)<<8) | i },
14
15 const MonoOpcode
16 mono_opcodes [MONO_N_OPCODES] = {
17 #include "mono/cil/opcode.def"
18         {0}
19 };
20
21 #undef OPDEF
22
23 #define OPDEF(a,b,c,d,e,f,g,h,i,j) b,
24
25 const char* const
26 mono_opcode_names [MONO_N_OPCODES] = {
27 #include "mono/cil/opcode.def"
28         NULL
29 };
30