hotspot/src/share/vm/opto/parseHelper.cpp
changeset 21099 46e6bbecd9e5
parent 20695 4f5a5e95090b
child 22845 d8812d0ff387
equal deleted inserted replaced
21098:1820670a3362 21099:46e6bbecd9e5
   126     }
   126     }
   127     return;
   127     return;
   128   }
   128   }
   129 
   129 
   130   // Push the bool result back on stack
   130   // Push the bool result back on stack
   131   Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)));
   131   Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)), true);
   132 
   132 
   133   // Pop from stack AFTER gen_instanceof because it can uncommon trap.
   133   // Pop from stack AFTER gen_instanceof because it can uncommon trap.
   134   pop();
   134   pop();
   135   push(res);
   135   push(res);
   136 }
   136 }