targetClass.resetStaticMethod(targetMethod);
targetClass.updateJTOCEntry(targetMethod);
    static void compileMethod(VM_DynamicLink dynamicLink, VM_Method targetMethod) throws VM_ResolutionException {      VM_Magic.pragmaNoInline(); // required since we are doing stackframe inspection      VM_Class targetClass = targetMethod.getDeclaringClass();      // if necessary, compile method      //      if (!targetMethod.isCompiled()) {	if (!targetClass.isInitialized()) {	  if (!targetClass.isInstantiated()) {	    VM.sysWrite("Attempted to compile a method of a uninstantiated class!\n");	    VM.sysWrite("  Class was"); VM.sysWrite(targetClass.getDescriptor()); VM.sysWrite("\n");	    VM.sysWrite("  Target was"); VM.sysWrite(targetMethod); VM.sysWrite("\n");	    VM.sysWrite("  Method was"); VM.sysWrite(dynamicLink.methodRef()); VM.sysWrite("\n");	  }	  targetClass.initialize();	}	targetMethod.compile();	// If targetMethod is a virtual method, then	// eagerly patch tib of declaring class	// (we need to do this to get the method test 	// used by opt to work with lazy compilation).	if (!(targetMethod.isObjectInitializer() || targetMethod.isStatic())) {	  targetClass.resetTIBEntry(targetMethod);	}      }            // patch appropriate dispatch table      //      if (targetMethod.isObjectInitializer() || targetMethod.isStatic()) { 	targetClass.resetStaticMethod(targetMethod);      } else if (dynamicLink.isInvokeSpecial()) { 	targetClass.resetTIBEntry(targetMethod);      } else {	VM.disableGC();	Object targetObject = VM_DynamicLinkerHelper.getReceiverObject();	VM.enableGC();	VM_Class recvClass = (VM_Class)VM_Magic.getObjectType(targetObject);	recvClass.resetTIBEntry(targetMethod);      }      // check to see if we need to breakpoint for jdp      if (VM_BaselineCompiler.options.hasMETHOD_TO_BREAK() &&	  VM_BaselineCompiler.options.fuzzyMatchMETHOD_TO_BREAK(targetMethod.toString())) {	VM_Services.breakStub();  // invoke stub used for breaking in jdp      }    }