Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator / x86 / decoder / gen / ncop_expr_node_kind_impl.h
1 /* native_client/src/trusted/validator/x86/decoder/gen/ncop_expr_node_kind_impl.h
2  * THIS FILE IS AUTO_GENERATED DO NOT EDIT.
3  *
4  * This file was auto-generated by enum_gen.py
5  * from file ncop_expr_node_kind.enum
6  */
7
8 /* Define the corresponding names of NaClExpKind. */
9 static const char* const g_NaClExpKindName[NaClExpKindEnumSize + 1] = {
10   "UndefinedExp",
11   "ExprRegister",
12   "OperandReference",
13   "ExprConstant",
14   "ExprSegmentAddress",
15   "ExprMemOffset",
16   "ExprNaClIllegal",
17   "NaClExpKindEnumSize"
18 };
19
20 const char* NaClExpKindName(NaClExpKind name) {
21   return name <= NaClExpKindEnumSize
22     ? g_NaClExpKindName[name]
23     : "NaClExpKind???";
24 }