Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit df04597

Browse files
committed
delete the second definition of getMethodNameFromMetadata2
[tfs-changeset: 1682581]
1 parent 475f297 commit df04597

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,17 +1437,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
14371437
return temp;
14381438
}
14391439

1440-
const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn, /* IN */
1441-
const char** className, /* OUT */
1442-
const char** namespaceName /* OUT */
1443-
)
1444-
{
1445-
mc->cr->AddCall("getMethodNameFromMetadata");
1446-
const char* temp = original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
1447-
mc->recGetMethodNameFromMetadata(ftn, (char*)temp, className, namespaceName);
1448-
return temp;
1449-
}
1450-
14511440
// this function is for debugging only. It returns a value that
14521441
// is will always be the same for a given method. It is used
14531442
// to implement the 'jitRange' functionality

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,15 +1119,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
11191119
return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
11201120
}
11211121

1122-
const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn, /* IN */
1123-
const char** className, /* OUT */
1124-
const char** namespaceName /* OUT */
1125-
)
1126-
{
1127-
mcs->AddCall("getMethodNameFromMetadata");
1128-
return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
1129-
}
1130-
11311122
// this function is for debugging only. It returns a value that
11321123
// is will always be the same for a given method. It is used
11331124
// to implement the 'jitRange' functionality

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,14 +1008,6 @@ const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ft
10081008
return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
10091009
}
10101010

1011-
const char* interceptor_ICJI::getMethodNameFromMetadata(CORINFO_METHOD_HANDLE ftn, /* IN */
1012-
const char** className, /* OUT */
1013-
const char** namespaceName /* OUT */
1014-
)
1015-
{
1016-
return original_ICorJitInfo->getMethodNameFromMetadata(ftn, className, namespaceName);
1017-
}
1018-
10191011
// this function is for debugging only. It returns a value that
10201012
// is will always be the same for a given method. It is used
10211013
// to implement the 'jitRange' functionality

0 commit comments

Comments
 (0)