File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -949,26 +949,6 @@ static boolean isSignaturePolymorphicHolder(final ResolvedJavaType type) {
949949 return false ;
950950 }
951951
952- /**
953- * Check for a resolved dynamic adapter method at the specified index, resulting from either a
954- * resolved invokedynamic or invokevirtual on a signature polymorphic MethodHandle method
955- * (HotSpot invokehandle).
956- *
957- * @param cpi the constant pool index
958- * @param opcode the opcode of the instruction for which the lookup is being performed
959- * @return {@code true} if a signature polymorphic method reference was found, otherwise
960- * {@code false}
961- */
962- public boolean isResolvedDynamicInvoke (int cpi , int opcode ) {
963- if (Bytecodes .isInvokeHandleAlias (opcode )) {
964- final int methodRefCacheIndex = rawIndexToConstantPoolCacheIndex (cpi , opcode );
965- checkTag (compilerToVM ().constantPoolRemapInstructionOperandFromCache (this , methodRefCacheIndex ), constants .jvmMethodref );
966- int op = compilerToVM ().isResolvedInvokeHandleInPool (this , methodRefCacheIndex );
967- return op == opcode ;
968- }
969- return false ;
970- }
971-
972952 public String getSourceFileName () {
973953 final int sourceFileNameIndex = UNSAFE .getChar (getConstantPoolPointer () + config ().constantPoolSourceFileNameIndexOffset );
974954 if (sourceFileNameIndex == 0 ) {
You can’t perform that action at this time.
0 commit comments