Lines Matching refs:cp_index
137 int cp_index = Bytes::get_Java_u2(p);
138 int cache_index = cp_entry_to_cp_cache(cp_index);
141 maybe_rewrite_invokehandle(p - 1, cp_index, reverse);
153 void Rewriter::maybe_rewrite_invokehandle(address opc, int cp_index, bool reverse) {
158 assert(_pool->tag_at(cp_index).is_method(), "wrong index");
160 if (cp_index >= _method_handle_invokers.length()) return;
161 int status = _method_handle_invokers[cp_index];
164 if (_pool->klass_ref_at_noresolve(cp_index) == vmSymbols::java_lang_invoke_MethodHandle() &&
166 _pool->name_ref_at(cp_index))) {
167 assert(has_cp_cache(cp_index), "should already have an entry");
168 int cpc = maybe_add_cp_cache_entry(cp_index); // should already have an entry
174 _method_handle_invokers[cp_index] = status;
184 // Do not need to look at cp_index.
199 int cp_index = Bytes::get_Java_u2(p);
200 int cpc = maybe_add_cp_cache_entry(cp_index); // add lazily
236 int cp_index = is_wide ? Bytes::get_Java_u2(p) : (u1)(*p);
237 constantTag tag = _pool->tag_at(cp_index).value();
239 int cache_index = cp_entry_to_cp_cache(cp_index);