1911 u2 index = bcs->get_index_u2(); |
1911 u2 index = bcs->get_index_u2(); |
1912 Bytecodes::Code opcode = bcs->raw_code(); |
1912 Bytecodes::Code opcode = bcs->raw_code(); |
1913 unsigned int types = (opcode == Bytecodes::_invokeinterface |
1913 unsigned int types = (opcode == Bytecodes::_invokeinterface |
1914 ? 1 << JVM_CONSTANT_InterfaceMethodref |
1914 ? 1 << JVM_CONSTANT_InterfaceMethodref |
1915 : opcode == Bytecodes::_invokedynamic |
1915 : opcode == Bytecodes::_invokedynamic |
1916 ? 1 << JVM_CONSTANT_NameAndType |
1916 ? (1 << JVM_CONSTANT_NameAndType |
|
1917 |1 << JVM_CONSTANT_InvokeDynamic) |
1917 : 1 << JVM_CONSTANT_Methodref); |
1918 : 1 << JVM_CONSTANT_Methodref); |
1918 verify_cp_type(index, cp, types, CHECK_VERIFY(this)); |
1919 verify_cp_type(index, cp, types, CHECK_VERIFY(this)); |
1919 |
1920 |
1920 // Get method name and signature |
1921 // Get method name and signature |
1921 symbolHandle method_name(THREAD, cp->name_ref_at(index)); |
1922 symbolHandle method_name(THREAD, cp->name_ref_at(index)); |