Mercurial > hg > truffle
comparison src/share/vm/ci/ciEnv.cpp @ 1059:389049f3f393
6858164: invokedynamic code needs some cleanup (post-6655638)
Summary: Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl
Reviewed-by: kvn
author | jrose |
---|---|
date | Fri, 30 Oct 2009 16:22:59 -0700 |
parents | 148e5441d916 |
children | 7c57aead6d3e |
comparison
equal
deleted
inserted
replaced
1058:73a726751507 | 1059:389049f3f393 |
---|---|
688 bool holder_is_accessible; | 688 bool holder_is_accessible; |
689 ciKlass* holder = get_klass_by_index_impl(accessor, holder_index, holder_is_accessible); | 689 ciKlass* holder = get_klass_by_index_impl(accessor, holder_index, holder_is_accessible); |
690 ciInstanceKlass* declared_holder = get_instance_klass_for_declared_method_holder(holder); | 690 ciInstanceKlass* declared_holder = get_instance_klass_for_declared_method_holder(holder); |
691 | 691 |
692 // Get the method's name and signature. | 692 // Get the method's name and signature. |
693 int nt_index = cpool->name_and_type_ref_index_at(index); | |
694 int sig_index = cpool->signature_ref_index_at(nt_index); | |
695 symbolOop name_sym = cpool->name_ref_at(index); | 693 symbolOop name_sym = cpool->name_ref_at(index); |
696 symbolOop sig_sym = cpool->symbol_at(sig_index); | 694 symbolOop sig_sym = cpool->signature_ref_at(index); |
697 | 695 |
698 if (holder_is_accessible) { // Our declared holder is loaded. | 696 if (holder_is_accessible) { // Our declared holder is loaded. |
699 instanceKlass* lookup = declared_holder->get_instanceKlass(); | 697 instanceKlass* lookup = declared_holder->get_instanceKlass(); |
700 methodOop m = lookup_method(accessor->get_instanceKlass(), lookup, name_sym, sig_sym, bc); | 698 methodOop m = lookup_method(accessor->get_instanceKlass(), lookup, name_sym, sig_sym, bc); |
701 if (m != NULL) { | 699 if (m != NULL) { |