src/cpu/x86/vm/interp_masm_x86_64.cpp

changeset 2698
38fea01eb669
parent 2438
dd031b2226de
child 2868
2e038ad0c1d0
     1.1 --- a/src/cpu/x86/vm/interp_masm_x86_64.cpp	Thu Mar 31 00:27:08 2011 -0700
     1.2 +++ b/src/cpu/x86/vm/interp_masm_x86_64.cpp	Thu Mar 31 02:31:57 2011 -0700
     1.3 @@ -213,7 +213,7 @@
     1.4    if (index_size == sizeof(u2)) {
     1.5      load_unsigned_short(index, Address(r13, bcp_offset));
     1.6    } else if (index_size == sizeof(u4)) {
     1.7 -    assert(EnableInvokeDynamic, "giant index used only for EnableInvokeDynamic");
     1.8 +    assert(EnableInvokeDynamic, "giant index used only for JSR 292");
     1.9      movl(index, Address(r13, bcp_offset));
    1.10      // Check if the secondary index definition is still ~x, otherwise
    1.11      // we have to change the following assembler code to calculate the
    1.12 @@ -221,7 +221,7 @@
    1.13      assert(constantPoolCacheOopDesc::decode_secondary_index(~123) == 123, "else change next line");
    1.14      notl(index);  // convert to plain index
    1.15    } else if (index_size == sizeof(u1)) {
    1.16 -    assert(EnableMethodHandles, "tiny index used only for EnableMethodHandles");
    1.17 +    assert(EnableInvokeDynamic, "tiny index used only for JSR 292");
    1.18      load_unsigned_byte(index, Address(r13, bcp_offset));
    1.19    } else {
    1.20      ShouldNotReachHere();

mercurial