1 /*
   2  * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 #ifndef CLASSFILE_CONSTANTS_H
  27 #define CLASSFILE_CONSTANTS_H
  28 
  29 #ifdef __cplusplus
  30 extern "C" {
  31 #endif
  32 
  33 /* Classfile version number for this information */
  34 #define JVM_CLASSFILE_MAJOR_VERSION @@VERSION_CLASSFILE_MAJOR@@
  35 #define JVM_CLASSFILE_MINOR_VERSION @@VERSION_CLASSFILE_MINOR@@
  36 
  37 /* Flags */
  38 
  39 enum {
  40     JVM_ACC_PUBLIC        = 0x0001,
  41     JVM_ACC_PRIVATE       = 0x0002,
  42     JVM_ACC_PROTECTED     = 0x0004,
  43     JVM_ACC_STATIC        = 0x0008,
  44     JVM_ACC_FINAL         = 0x0010,
  45     JVM_ACC_SYNCHRONIZED  = 0x0020,
  46     JVM_ACC_SUPER         = 0x0020,
  47     JVM_ACC_VOLATILE      = 0x0040,
  48     JVM_ACC_BRIDGE        = 0x0040,
  49     JVM_ACC_TRANSIENT     = 0x0080,
  50     JVM_ACC_VARARGS       = 0x0080,
  51     JVM_ACC_VALUE         = 0x0100,
  52     JVM_ACC_FLATTENABLE   = 0x0100,
  53     JVM_ACC_NATIVE        = 0x0100,
  54     JVM_ACC_INTERFACE     = 0x0200,
  55     JVM_ACC_ABSTRACT      = 0x0400,
  56     JVM_ACC_STRICT        = 0x0800,
  57     JVM_ACC_SYNTHETIC     = 0x1000,
  58     JVM_ACC_ANNOTATION    = 0x2000,
  59     JVM_ACC_ENUM          = 0x4000,
  60     JVM_ACC_MODULE        = 0x8000
  61 };
  62 
  63 #define JVM_ACC_PUBLIC_BIT        0
  64 #define JVM_ACC_PRIVATE_BIT       1
  65 #define JVM_ACC_PROTECTED_BIT     2
  66 #define JVM_ACC_STATIC_BIT        3
  67 #define JVM_ACC_FINAL_BIT         4
  68 #define JVM_ACC_SYNCHRONIZED_BIT  5
  69 #define JVM_ACC_SUPER_BIT         5
  70 #define JVM_ACC_VOLATILE_BIT      6
  71 #define JVM_ACC_BRIDGE_BIT        6
  72 #define JVM_ACC_TRANSIENT_BIT     7
  73 #define JVM_ACC_VARARGS_BIT       7
  74 #define JVM_ACC_NATIVE_BIT        8
  75 #define JVM_ACC_INTERFACE_BIT     9
  76 #define JVM_ACC_ABSTRACT_BIT      10
  77 #define JVM_ACC_STRICT_BIT        11
  78 #define JVM_ACC_SYNTHETIC_BIT     12
  79 #define JVM_ACC_ANNOTATION_BIT    13
  80 #define JVM_ACC_ENUM_BIT          14
  81 
  82 /* Used in newarray instruction. */
  83 
  84 enum {
  85     JVM_T_BOOLEAN = 4,
  86     JVM_T_CHAR    = 5,
  87     JVM_T_FLOAT   = 6,
  88     JVM_T_DOUBLE  = 7,
  89     JVM_T_BYTE    = 8,
  90     JVM_T_SHORT   = 9,
  91     JVM_T_INT     = 10,
  92     JVM_T_LONG    = 11
  93 };
  94 
  95 /* Constant Pool Entries */
  96 
  97 enum {
  98     JVM_CONSTANT_Utf8                   = 1,
  99     JVM_CONSTANT_Unicode                = 2, /* unused */
 100     JVM_CONSTANT_Integer                = 3,
 101     JVM_CONSTANT_Float                  = 4,
 102     JVM_CONSTANT_Long                   = 5,
 103     JVM_CONSTANT_Double                 = 6,
 104     JVM_CONSTANT_Class                  = 7,
 105     JVM_CONSTANT_String                 = 8,
 106     JVM_CONSTANT_Fieldref               = 9,
 107     JVM_CONSTANT_Methodref              = 10,
 108     JVM_CONSTANT_InterfaceMethodref     = 11,
 109     JVM_CONSTANT_NameAndType            = 12,
 110     JVM_CONSTANT_MethodHandle           = 15,  // JSR 292
 111     JVM_CONSTANT_MethodType             = 16,  // JSR 292
 112     JVM_CONSTANT_Dynamic                = 17,
 113     JVM_CONSTANT_InvokeDynamic          = 18,
 114     JVM_CONSTANT_Module                 = 19,
 115     JVM_CONSTANT_Package                = 20,
 116     JVM_CONSTANT_ExternalMax            = 20 
 117 };
 118 
 119 /* JVM_CONSTANT_MethodHandle subtypes */
 120 enum {
 121     JVM_REF_getField                = 1,
 122     JVM_REF_getStatic               = 2,
 123     JVM_REF_putField                = 3,
 124     JVM_REF_putStatic               = 4,
 125     JVM_REF_invokeVirtual           = 5,
 126     JVM_REF_invokeStatic            = 6,
 127     JVM_REF_invokeSpecial           = 7,
 128     JVM_REF_newInvokeSpecial        = 8,
 129     JVM_REF_invokeInterface         = 9
 130 };
 131 
 132 /* StackMapTable type item numbers */
 133 
 134 enum {
 135     JVM_ITEM_Top                = 0,
 136     JVM_ITEM_Integer            = 1,
 137     JVM_ITEM_Float              = 2,
 138     JVM_ITEM_Double             = 3,
 139     JVM_ITEM_Long               = 4,
 140     JVM_ITEM_Null               = 5,
 141     JVM_ITEM_UninitializedThis  = 6,
 142     JVM_ITEM_Object             = 7,
 143     JVM_ITEM_Uninitialized      = 8
 144 };
 145 
 146 /* Type signatures */
 147 
 148 enum {
 149     JVM_SIGNATURE_ARRAY         = '[',
 150     JVM_SIGNATURE_BYTE          = 'B',
 151     JVM_SIGNATURE_CHAR          = 'C',
 152     JVM_SIGNATURE_CLASS         = 'L',
 153     JVM_SIGNATURE_VALUETYPE     = 'Q',
 154     JVM_SIGNATURE_ENDCLASS      = ';',
 155     JVM_SIGNATURE_ENUM          = 'E',
 156     JVM_SIGNATURE_FLOAT         = 'F',
 157     JVM_SIGNATURE_DOUBLE        = 'D',
 158     JVM_SIGNATURE_FUNC          = '(',
 159     JVM_SIGNATURE_ENDFUNC       = ')',
 160     JVM_SIGNATURE_INT           = 'I',
 161     JVM_SIGNATURE_LONG          = 'J',
 162     JVM_SIGNATURE_SHORT         = 'S',
 163     JVM_SIGNATURE_VOID          = 'V',
 164     JVM_SIGNATURE_BOOLEAN       = 'Z'
 165 };
 166 
 167 /* Opcodes */
 168 
 169 enum {
 170     JVM_OPC_nop                 = 0,
 171     JVM_OPC_aconst_null         = 1,
 172     JVM_OPC_iconst_m1           = 2,
 173     JVM_OPC_iconst_0            = 3,
 174     JVM_OPC_iconst_1            = 4,
 175     JVM_OPC_iconst_2            = 5,
 176     JVM_OPC_iconst_3            = 6,
 177     JVM_OPC_iconst_4            = 7,
 178     JVM_OPC_iconst_5            = 8,
 179     JVM_OPC_lconst_0            = 9,
 180     JVM_OPC_lconst_1            = 10,
 181     JVM_OPC_fconst_0            = 11,
 182     JVM_OPC_fconst_1            = 12,
 183     JVM_OPC_fconst_2            = 13,
 184     JVM_OPC_dconst_0            = 14,
 185     JVM_OPC_dconst_1            = 15,
 186     JVM_OPC_bipush              = 16,
 187     JVM_OPC_sipush              = 17,
 188     JVM_OPC_ldc                 = 18,
 189     JVM_OPC_ldc_w               = 19,
 190     JVM_OPC_ldc2_w              = 20,
 191     JVM_OPC_iload               = 21,
 192     JVM_OPC_lload               = 22,
 193     JVM_OPC_fload               = 23,
 194     JVM_OPC_dload               = 24,
 195     JVM_OPC_aload               = 25,
 196     JVM_OPC_iload_0             = 26,
 197     JVM_OPC_iload_1             = 27,
 198     JVM_OPC_iload_2             = 28,
 199     JVM_OPC_iload_3             = 29,
 200     JVM_OPC_lload_0             = 30,
 201     JVM_OPC_lload_1             = 31,
 202     JVM_OPC_lload_2             = 32,
 203     JVM_OPC_lload_3             = 33,
 204     JVM_OPC_fload_0             = 34,
 205     JVM_OPC_fload_1             = 35,
 206     JVM_OPC_fload_2             = 36,
 207     JVM_OPC_fload_3             = 37,
 208     JVM_OPC_dload_0             = 38,
 209     JVM_OPC_dload_1             = 39,
 210     JVM_OPC_dload_2             = 40,
 211     JVM_OPC_dload_3             = 41,
 212     JVM_OPC_aload_0             = 42,
 213     JVM_OPC_aload_1             = 43,
 214     JVM_OPC_aload_2             = 44,
 215     JVM_OPC_aload_3             = 45,
 216     JVM_OPC_iaload              = 46,
 217     JVM_OPC_laload              = 47,
 218     JVM_OPC_faload              = 48,
 219     JVM_OPC_daload              = 49,
 220     JVM_OPC_aaload              = 50,
 221     JVM_OPC_baload              = 51,
 222     JVM_OPC_caload              = 52,
 223     JVM_OPC_saload              = 53,
 224     JVM_OPC_istore              = 54,
 225     JVM_OPC_lstore              = 55,
 226     JVM_OPC_fstore              = 56,
 227     JVM_OPC_dstore              = 57,
 228     JVM_OPC_astore              = 58,
 229     JVM_OPC_istore_0            = 59,
 230     JVM_OPC_istore_1            = 60,
 231     JVM_OPC_istore_2            = 61,
 232     JVM_OPC_istore_3            = 62,
 233     JVM_OPC_lstore_0            = 63,
 234     JVM_OPC_lstore_1            = 64,
 235     JVM_OPC_lstore_2            = 65,
 236     JVM_OPC_lstore_3            = 66,
 237     JVM_OPC_fstore_0            = 67,
 238     JVM_OPC_fstore_1            = 68,
 239     JVM_OPC_fstore_2            = 69,
 240     JVM_OPC_fstore_3            = 70,
 241     JVM_OPC_dstore_0            = 71,
 242     JVM_OPC_dstore_1            = 72,
 243     JVM_OPC_dstore_2            = 73,
 244     JVM_OPC_dstore_3            = 74,
 245     JVM_OPC_astore_0            = 75,
 246     JVM_OPC_astore_1            = 76,
 247     JVM_OPC_astore_2            = 77,
 248     JVM_OPC_astore_3            = 78,
 249     JVM_OPC_iastore             = 79,
 250     JVM_OPC_lastore             = 80,
 251     JVM_OPC_fastore             = 81,
 252     JVM_OPC_dastore             = 82,
 253     JVM_OPC_aastore             = 83,
 254     JVM_OPC_bastore             = 84,
 255     JVM_OPC_castore             = 85,
 256     JVM_OPC_sastore             = 86,
 257     JVM_OPC_pop                 = 87,
 258     JVM_OPC_pop2                = 88,
 259     JVM_OPC_dup                 = 89,
 260     JVM_OPC_dup_x1              = 90,
 261     JVM_OPC_dup_x2              = 91,
 262     JVM_OPC_dup2                = 92,
 263     JVM_OPC_dup2_x1             = 93,
 264     JVM_OPC_dup2_x2             = 94,
 265     JVM_OPC_swap                = 95,
 266     JVM_OPC_iadd                = 96,
 267     JVM_OPC_ladd                = 97,
 268     JVM_OPC_fadd                = 98,
 269     JVM_OPC_dadd                = 99,
 270     JVM_OPC_isub                = 100,
 271     JVM_OPC_lsub                = 101,
 272     JVM_OPC_fsub                = 102,
 273     JVM_OPC_dsub                = 103,
 274     JVM_OPC_imul                = 104,
 275     JVM_OPC_lmul                = 105,
 276     JVM_OPC_fmul                = 106,
 277     JVM_OPC_dmul                = 107,
 278     JVM_OPC_idiv                = 108,
 279     JVM_OPC_ldiv                = 109,
 280     JVM_OPC_fdiv                = 110,
 281     JVM_OPC_ddiv                = 111,
 282     JVM_OPC_irem                = 112,
 283     JVM_OPC_lrem                = 113,
 284     JVM_OPC_frem                = 114,
 285     JVM_OPC_drem                = 115,
 286     JVM_OPC_ineg                = 116,
 287     JVM_OPC_lneg                = 117,
 288     JVM_OPC_fneg                = 118,
 289     JVM_OPC_dneg                = 119,
 290     JVM_OPC_ishl                = 120,
 291     JVM_OPC_lshl                = 121,
 292     JVM_OPC_ishr                = 122,
 293     JVM_OPC_lshr                = 123,
 294     JVM_OPC_iushr               = 124,
 295     JVM_OPC_lushr               = 125,
 296     JVM_OPC_iand                = 126,
 297     JVM_OPC_land                = 127,
 298     JVM_OPC_ior                 = 128,
 299     JVM_OPC_lor                 = 129,
 300     JVM_OPC_ixor                = 130,
 301     JVM_OPC_lxor                = 131,
 302     JVM_OPC_iinc                = 132,
 303     JVM_OPC_i2l                 = 133,
 304     JVM_OPC_i2f                 = 134,
 305     JVM_OPC_i2d                 = 135,
 306     JVM_OPC_l2i                 = 136,
 307     JVM_OPC_l2f                 = 137,
 308     JVM_OPC_l2d                 = 138,
 309     JVM_OPC_f2i                 = 139,
 310     JVM_OPC_f2l                 = 140,
 311     JVM_OPC_f2d                 = 141,
 312     JVM_OPC_d2i                 = 142,
 313     JVM_OPC_d2l                 = 143,
 314     JVM_OPC_d2f                 = 144,
 315     JVM_OPC_i2b                 = 145,
 316     JVM_OPC_i2c                 = 146,
 317     JVM_OPC_i2s                 = 147,
 318     JVM_OPC_lcmp                = 148,
 319     JVM_OPC_fcmpl               = 149,
 320     JVM_OPC_fcmpg               = 150,
 321     JVM_OPC_dcmpl               = 151,
 322     JVM_OPC_dcmpg               = 152,
 323     JVM_OPC_ifeq                = 153,
 324     JVM_OPC_ifne                = 154,
 325     JVM_OPC_iflt                = 155,
 326     JVM_OPC_ifge                = 156,
 327     JVM_OPC_ifgt                = 157,
 328     JVM_OPC_ifle                = 158,
 329     JVM_OPC_if_icmpeq           = 159,
 330     JVM_OPC_if_icmpne           = 160,
 331     JVM_OPC_if_icmplt           = 161,
 332     JVM_OPC_if_icmpge           = 162,
 333     JVM_OPC_if_icmpgt           = 163,
 334     JVM_OPC_if_icmple           = 164,
 335     JVM_OPC_if_acmpeq           = 165,
 336     JVM_OPC_if_acmpne           = 166,
 337     JVM_OPC_goto                = 167,
 338     JVM_OPC_jsr                 = 168,
 339     JVM_OPC_ret                 = 169,
 340     JVM_OPC_tableswitch         = 170,
 341     JVM_OPC_lookupswitch        = 171,
 342     JVM_OPC_ireturn             = 172,
 343     JVM_OPC_lreturn             = 173,
 344     JVM_OPC_freturn             = 174,
 345     JVM_OPC_dreturn             = 175,
 346     JVM_OPC_areturn             = 176,
 347     JVM_OPC_return              = 177,
 348     JVM_OPC_getstatic           = 178,
 349     JVM_OPC_putstatic           = 179,
 350     JVM_OPC_getfield            = 180,
 351     JVM_OPC_putfield            = 181,
 352     JVM_OPC_invokevirtual       = 182,
 353     JVM_OPC_invokespecial       = 183,
 354     JVM_OPC_invokestatic        = 184,
 355     JVM_OPC_invokeinterface     = 185,
 356     JVM_OPC_invokedynamic       = 186,
 357     JVM_OPC_new                 = 187,
 358     JVM_OPC_newarray            = 188,
 359     JVM_OPC_anewarray           = 189,
 360     JVM_OPC_arraylength         = 190,
 361     JVM_OPC_athrow              = 191,
 362     JVM_OPC_checkcast           = 192,
 363     JVM_OPC_instanceof          = 193,
 364     JVM_OPC_monitorenter        = 194,
 365     JVM_OPC_monitorexit         = 195,
 366     JVM_OPC_wide                = 196,
 367     JVM_OPC_multianewarray      = 197,
 368     JVM_OPC_ifnull              = 198,
 369     JVM_OPC_ifnonnull           = 199,
 370     JVM_OPC_goto_w              = 200,
 371     JVM_OPC_jsr_w               = 201,
 372     JVM_OPC_MAX                 = 201
 373 };
 374 
 375 /* Opcode length initializer, use with something like:
 376  *   unsigned char opcode_length[JVM_OPC_MAX+1] = JVM_OPCODE_LENGTH_INITIALIZER;
 377  */
 378 #define JVM_OPCODE_LENGTH_INITIALIZER { \
 379    1,   /* nop */                       \
 380    1,   /* aconst_null */               \
 381    1,   /* iconst_m1 */                 \
 382    1,   /* iconst_0 */                  \
 383    1,   /* iconst_1 */                  \
 384    1,   /* iconst_2 */                  \
 385    1,   /* iconst_3 */                  \
 386    1,   /* iconst_4 */                  \
 387    1,   /* iconst_5 */                  \
 388    1,   /* lconst_0 */                  \
 389    1,   /* lconst_1 */                  \
 390    1,   /* fconst_0 */                  \
 391    1,   /* fconst_1 */                  \
 392    1,   /* fconst_2 */                  \
 393    1,   /* dconst_0 */                  \
 394    1,   /* dconst_1 */                  \
 395    2,   /* bipush */                    \
 396    3,   /* sipush */                    \
 397    2,   /* ldc */                       \
 398    3,   /* ldc_w */                     \
 399    3,   /* ldc2_w */                    \
 400    2,   /* iload */                     \
 401    2,   /* lload */                     \
 402    2,   /* fload */                     \
 403    2,   /* dload */                     \
 404    2,   /* aload */                     \
 405    1,   /* iload_0 */                   \
 406    1,   /* iload_1 */                   \
 407    1,   /* iload_2 */                   \
 408    1,   /* iload_3 */                   \
 409    1,   /* lload_0 */                   \
 410    1,   /* lload_1 */                   \
 411    1,   /* lload_2 */                   \
 412    1,   /* lload_3 */                   \
 413    1,   /* fload_0 */                   \
 414    1,   /* fload_1 */                   \
 415    1,   /* fload_2 */                   \
 416    1,   /* fload_3 */                   \
 417    1,   /* dload_0 */                   \
 418    1,   /* dload_1 */                   \
 419    1,   /* dload_2 */                   \
 420    1,   /* dload_3 */                   \
 421    1,   /* aload_0 */                   \
 422    1,   /* aload_1 */                   \
 423    1,   /* aload_2 */                   \
 424    1,   /* aload_3 */                   \
 425    1,   /* iaload */                    \
 426    1,   /* laload */                    \
 427    1,   /* faload */                    \
 428    1,   /* daload */                    \
 429    1,   /* aaload */                    \
 430    1,   /* baload */                    \
 431    1,   /* caload */                    \
 432    1,   /* saload */                    \
 433    2,   /* istore */                    \
 434    2,   /* lstore */                    \
 435    2,   /* fstore */                    \
 436    2,   /* dstore */                    \
 437    2,   /* astore */                    \
 438    1,   /* istore_0 */                  \
 439    1,   /* istore_1 */                  \
 440    1,   /* istore_2 */                  \
 441    1,   /* istore_3 */                  \
 442    1,   /* lstore_0 */                  \
 443    1,   /* lstore_1 */                  \
 444    1,   /* lstore_2 */                  \
 445    1,   /* lstore_3 */                  \
 446    1,   /* fstore_0 */                  \
 447    1,   /* fstore_1 */                  \
 448    1,   /* fstore_2 */                  \
 449    1,   /* fstore_3 */                  \
 450    1,   /* dstore_0 */                  \
 451    1,   /* dstore_1 */                  \
 452    1,   /* dstore_2 */                  \
 453    1,   /* dstore_3 */                  \
 454    1,   /* astore_0 */                  \
 455    1,   /* astore_1 */                  \
 456    1,   /* astore_2 */                  \
 457    1,   /* astore_3 */                  \
 458    1,   /* iastore */                   \
 459    1,   /* lastore */                   \
 460    1,   /* fastore */                   \
 461    1,   /* dastore */                   \
 462    1,   /* aastore */                   \
 463    1,   /* bastore */                   \
 464    1,   /* castore */                   \
 465    1,   /* sastore */                   \
 466    1,   /* pop */                       \
 467    1,   /* pop2 */                      \
 468    1,   /* dup */                       \
 469    1,   /* dup_x1 */                    \
 470    1,   /* dup_x2 */                    \
 471    1,   /* dup2 */                      \
 472    1,   /* dup2_x1 */                   \
 473    1,   /* dup2_x2 */                   \
 474    1,   /* swap */                      \
 475    1,   /* iadd */                      \
 476    1,   /* ladd */                      \
 477    1,   /* fadd */                      \
 478    1,   /* dadd */                      \
 479    1,   /* isub */                      \
 480    1,   /* lsub */                      \
 481    1,   /* fsub */                      \
 482    1,   /* dsub */                      \
 483    1,   /* imul */                      \
 484    1,   /* lmul */                      \
 485    1,   /* fmul */                      \
 486    1,   /* dmul */                      \
 487    1,   /* idiv */                      \
 488    1,   /* ldiv */                      \
 489    1,   /* fdiv */                      \
 490    1,   /* ddiv */                      \
 491    1,   /* irem */                      \
 492    1,   /* lrem */                      \
 493    1,   /* frem */                      \
 494    1,   /* drem */                      \
 495    1,   /* ineg */                      \
 496    1,   /* lneg */                      \
 497    1,   /* fneg */                      \
 498    1,   /* dneg */                      \
 499    1,   /* ishl */                      \
 500    1,   /* lshl */                      \
 501    1,   /* ishr */                      \
 502    1,   /* lshr */                      \
 503    1,   /* iushr */                     \
 504    1,   /* lushr */                     \
 505    1,   /* iand */                      \
 506    1,   /* land */                      \
 507    1,   /* ior */                       \
 508    1,   /* lor */                       \
 509    1,   /* ixor */                      \
 510    1,   /* lxor */                      \
 511    3,   /* iinc */                      \
 512    1,   /* i2l */                       \
 513    1,   /* i2f */                       \
 514    1,   /* i2d */                       \
 515    1,   /* l2i */                       \
 516    1,   /* l2f */                       \
 517    1,   /* l2d */                       \
 518    1,   /* f2i */                       \
 519    1,   /* f2l */                       \
 520    1,   /* f2d */                       \
 521    1,   /* d2i */                       \
 522    1,   /* d2l */                       \
 523    1,   /* d2f */                       \
 524    1,   /* i2b */                       \
 525    1,   /* i2c */                       \
 526    1,   /* i2s */                       \
 527    1,   /* lcmp */                      \
 528    1,   /* fcmpl */                     \
 529    1,   /* fcmpg */                     \
 530    1,   /* dcmpl */                     \
 531    1,   /* dcmpg */                     \
 532    3,   /* ifeq */                      \
 533    3,   /* ifne */                      \
 534    3,   /* iflt */                      \
 535    3,   /* ifge */                      \
 536    3,   /* ifgt */                      \
 537    3,   /* ifle */                      \
 538    3,   /* if_icmpeq */                 \
 539    3,   /* if_icmpne */                 \
 540    3,   /* if_icmplt */                 \
 541    3,   /* if_icmpge */                 \
 542    3,   /* if_icmpgt */                 \
 543    3,   /* if_icmple */                 \
 544    3,   /* if_acmpeq */                 \
 545    3,   /* if_acmpne */                 \
 546    3,   /* goto */                      \
 547    3,   /* jsr */                       \
 548    2,   /* ret */                       \
 549    99,  /* tableswitch */               \
 550    99,  /* lookupswitch */              \
 551    1,   /* ireturn */                   \
 552    1,   /* lreturn */                   \
 553    1,   /* freturn */                   \
 554    1,   /* dreturn */                   \
 555    1,   /* areturn */                   \
 556    1,   /* return */                    \
 557    3,   /* getstatic */                 \
 558    3,   /* putstatic */                 \
 559    3,   /* getfield */                  \
 560    3,   /* putfield */                  \
 561    3,   /* invokevirtual */             \
 562    3,   /* invokespecial */             \
 563    3,   /* invokestatic */              \
 564    5,   /* invokeinterface */           \
 565    5,   /* invokedynamic */             \
 566    3,   /* new */                       \
 567    2,   /* newarray */                  \
 568    3,   /* anewarray */                 \
 569    1,   /* arraylength */               \
 570    1,   /* athrow */                    \
 571    3,   /* checkcast */                 \
 572    3,   /* instanceof */                \
 573    1,   /* monitorenter */              \
 574    1,   /* monitorexit */               \
 575    0,   /* wide */                      \
 576    4,   /* multianewarray */            \
 577    3,   /* ifnull */                    \
 578    3,   /* ifnonnull */                 \
 579    5,   /* goto_w */                    \
 580    5    /* jsr_w */                     \
 581 }
 582 
 583 #ifdef __cplusplus
 584 } /* extern "C" */
 585 #endif /* __cplusplus */
 586 
 587 #endif /* CLASSFILE_CONSTANTS */