src/share/vm/opto/subnode.cpp

changeset 4159
8e47bac5643a
parent 4115
e626685e9f6c
child 4889
cc32ccaaf47f
     1.1 --- a/src/share/vm/opto/subnode.cpp	Mon Oct 08 17:04:00 2012 -0700
     1.2 +++ b/src/share/vm/opto/subnode.cpp	Tue Oct 09 10:11:38 2012 +0200
     1.3 @@ -789,7 +789,7 @@
     1.4  
     1.5    // Now check for LoadKlass on left.
     1.6    Node* ldk1 = in(1);
     1.7 -  if (ldk1->is_DecodeN()) {
     1.8 +  if (ldk1->is_DecodeNKlass()) {
     1.9      ldk1 = ldk1->in(1);
    1.10      if (ldk1->Opcode() != Op_LoadNKlass )
    1.11        return NULL;
    1.12 @@ -814,7 +814,7 @@
    1.13  
    1.14    // Check for a LoadKlass from primary supertype array.
    1.15    // Any nested loadklass from loadklass+con must be from the p.s. array.
    1.16 -  if (ldk2->is_DecodeN()) {
    1.17 +  if (ldk2->is_DecodeNKlass()) {
    1.18      // Keep ldk2 as DecodeN since it could be used in CmpP below.
    1.19      if (ldk2->in(1)->Opcode() != Op_LoadNKlass )
    1.20        return NULL;

mercurial