equal
deleted
inserted
replaced
361 |
361 |
362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) { |
362 Method* ConstantPoolCacheEntry::method_if_resolved(constantPoolHandle cpool) { |
363 // Decode the action of set_method and set_interface_call |
363 // Decode the action of set_method and set_interface_call |
364 Bytecodes::Code invoke_code = bytecode_1(); |
364 Bytecodes::Code invoke_code = bytecode_1(); |
365 if (invoke_code != (Bytecodes::Code)0) { |
365 if (invoke_code != (Bytecodes::Code)0) { |
366 Metadata* f1 = (Metadata*)_f1; |
366 Metadata* f1 = f1_ord(); |
367 if (f1 != NULL) { |
367 if (f1 != NULL) { |
368 switch (invoke_code) { |
368 switch (invoke_code) { |
369 case Bytecodes::_invokeinterface: |
369 case Bytecodes::_invokeinterface: |
370 assert(f1->is_klass(), ""); |
370 assert(f1->is_klass(), ""); |
371 return klassItable::method_for_itable_index((Klass*)f1, f2_as_index()); |
371 return klassItable::method_for_itable_index((Klass*)f1, f2_as_index()); |