Mercurial > hg > truffle
comparison src/share/vm/oops/cpCache.cpp @ 14521:29ccc4cbabca
Merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 12 Mar 2014 13:30:08 +0100 |
parents | 3205e78d8193 |
children | 4ca6dc0799b6 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
14520:f84115370178 | 14521:29ccc4cbabca |
---|---|
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()); |