delete the second definition of getMethodNameFromMetadata2
authordotnet-bot <dotnet-bot@microsoft.com>
Fri, 1 Dec 2017 00:04:03 +0000 (16:04 -0800)
committerdotnet-bot <dotnet-bot@microsoft.com>
Fri, 1 Dec 2017 00:04:03 +0000 (16:04 -0800)
[tfs-changeset: 1682581]

src/ToolBox/superpmi/superpmi-shim-collector/icorjitinfo.cpp
src/ToolBox/superpmi/superpmi-shim-counter/icorjitinfo.cpp
src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp

index 19df9eb..fe5f557 100644 (file)
@@ -1437,17 +1437,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
     return temp;
 }
 
-const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn,          /* IN */
-                                                        const char**          className,    /* OUT */
-                                                        const char**          namespaceName /* OUT */            
-                                                        )
-{
-    mc->cr->AddCall("getMethodNameFromMetadata");
-    const char* temp = original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
-    mc->recGetMethodNameFromMetadata(ftn, (char*)temp, className, namespaceName);
-    return temp;
-}
-
 // this function is for debugging only.  It returns a value that
 // is will always be the same for a given method.  It is used
 // to implement the 'jitRange' functionality
index e9b15d3..a9e5761 100644 (file)
@@ -1119,15 +1119,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
     return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
 }
 
-const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn,          /* IN */
-                                                        const char**          className,    /* OUT */
-                                                        const char**          namespaceName /* OUT */
-                                                        )
-{
-    mcs->AddCall("getMethodNameFromMetadata");
-    return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
-}
-
 // this function is for debugging only.  It returns a value that
 // is will always be the same for a given method.  It is used
 // to implement the 'jitRange' functionality
index c56b2c3..d7ca029 100644 (file)
@@ -1008,14 +1008,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
     return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
 }
 
-const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn,          /* IN */
-                                                        const char**          className,    /* OUT */
-                                                        const char**          namespaceName /* OUT */
-                                                        )
-{
-    return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
-}
-
 // this function is for debugging only.  It returns a value that
 // is will always be the same for a given method.  It is used
 // to implement the 'jitRange' functionality