Mercurial > hg > graal-compiler
comparison src/share/vm/oops/cpCache.cpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 3205e78d8193 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
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 = f1_ord(); | 366 Metadata* f1 = (Metadata*)_f1; |
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()); |