Merge pull request #2138 from LLITCHEV/SysVTests
[platform/upstream/coreclr.git] / src / ildasm / dasmenum.hpp
1 //
2 // Copyright (c) Microsoft. All rights reserved.
3 // Licensed under the MIT license. See LICENSE file in the project root for full license information. 
4 //
5
6 #include "openum.h"
7
8 typedef struct
9 {
10     const char *  pszName;
11     
12     OPCODE   Ref;   // reference codes
13     
14     BYTE    Type;   // Inline0 etc.
15
16     BYTE    Len;    // std mapping
17     BYTE    Std1;   
18     BYTE    Std2;
19 } opcodeinfo_t;
20
21 #ifdef DECLARE_DATA
22 opcodeinfo_t OpcodeInfo[] =
23 {
24 #define OPDEF(c,s,pop,push,args,type,l,s1,s2,ctrl) { s,c,args,l,s1,s2 },
25 #include "opcode.def"
26 #undef OPDEF
27 };
28 #else
29 extern opcodeinfo_t OpcodeInfo[];
30 #endif
31
32