equal
deleted
inserted
replaced
232 is_invokevirtual() || |
232 is_invokevirtual() || |
233 is_invokestatic() || |
233 is_invokestatic() || |
234 is_invokespecial() || |
234 is_invokespecial() || |
235 is_invokedynamic(); } |
235 is_invokedynamic(); } |
236 |
236 |
|
237 bool is_method_handle_invoke() const { |
|
238 return (is_invokedynamic() || |
|
239 (is_invokevirtual() && |
|
240 method()->constants()->klass_ref_at_noresolve(index()) == vmSymbols::java_lang_invoke_MethodHandle() && |
|
241 methodOopDesc::is_method_handle_invoke_name(name()))); |
|
242 } |
|
243 |
237 // Helper to skip verification. Used is_valid() to check if the result is really an invoke |
244 // Helper to skip verification. Used is_valid() to check if the result is really an invoke |
238 inline friend Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci); |
245 inline friend Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci); |
239 }; |
246 }; |
240 |
247 |
241 inline Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci) { |
248 inline Bytecode_invoke Bytecode_invoke_check(methodHandle method, int bci) { |