summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Ignatov <sergign60@mail.ru>2018-07-09 11:11:53 +0300
committerGleb Balykov/AI Ecosystem Lab /SRR/Engineer/삼성전자 <g.balykov@samsung.com>2018-07-09 17:33:47 +0300
commita72895d6fe164d29ed5a8860a716db4f3de84371 (patch)
tree568c89d4772ec733e2c6454fea40cfab3a7a4177
parenta3320ec0fa3da79a6e90ed02252bd7c5566121f4 (diff)
downloadcoreclr-a72895d6fe164d29ed5a8860a716db4f3de84371.tar.gz
coreclr-a72895d6fe164d29ed5a8860a716db4f3de84371.tar.bz2
coreclr-a72895d6fe164d29ed5a8860a716db4f3de84371.zip
i386: Refixed declaration in eetoprofinterfaceimpl.cpp with definition
-rw-r--r--src/vm/eetoprofinterfaceimpl.cpp6
-rw-r--r--src/vm/i386/unixstubs.cpp6
-rw-r--r--src/vm/profilinghelper.cpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/vm/eetoprofinterfaceimpl.cpp b/src/vm/eetoprofinterfaceimpl.cpp
index 3f32b5a39d..cd5fb75cde 100644
--- a/src/vm/eetoprofinterfaceimpl.cpp
+++ b/src/vm/eetoprofinterfaceimpl.cpp
@@ -2053,9 +2053,9 @@ HRESULT EEToProfInterfaceImpl::EnsureProfilerDetachable()
}
// Declarations for asm wrappers of profiler callbacks
-EXTERN_C void __stdcall ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID);
-EXTERN_C void __stdcall ProfileLeaveNaked(FunctionIDOrClientID functionIDOrClientID);
-EXTERN_C void __stdcall ProfileTailcallNaked(FunctionIDOrClientID functionIDOrClientID);
+EXTERN_C void ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID);
+EXTERN_C void ProfileLeaveNaked(FunctionIDOrClientID functionIDOrClientID);
+EXTERN_C void ProfileTailcallNaked(FunctionIDOrClientID functionIDOrClientID);
#define PROFILECALLBACK(name) name##Naked
//---------------------------------------------------------------------------------------
diff --git a/src/vm/i386/unixstubs.cpp b/src/vm/i386/unixstubs.cpp
index 71cbceabb2..29f67a9c48 100644
--- a/src/vm/i386/unixstubs.cpp
+++ b/src/vm/i386/unixstubs.cpp
@@ -6,17 +6,17 @@
extern "C"
{
- void __stdcall ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID)
+ void ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID)
{
PORTABILITY_ASSERT("Implement for PAL");
}
- void __stdcall ProfileLeaveNaked(FunctionIDOrClientID functionIDOrClientID)
+ void ProfileLeaveNaked(FunctionIDOrClientID functionIDOrClientID)
{
PORTABILITY_ASSERT("Implement for PAL");
}
- void __stdcall ProfileTailcallNaked(FunctionIDOrClientID functionIDOrClientID)
+ void ProfileTailcallNaked(FunctionIDOrClientID functionIDOrClientID)
{
PORTABILITY_ASSERT("Implement for PAL");
}
diff --git a/src/vm/profilinghelper.cpp b/src/vm/profilinghelper.cpp
index d711100cd7..9f9de490cf 100644
--- a/src/vm/profilinghelper.cpp
+++ b/src/vm/profilinghelper.cpp
@@ -460,9 +460,9 @@ void ProfilingAPIUtility::LogProfInfo(int iStringResourceID, ...)
// InitializeProfiling() below solely for the debug-only, test-only code to allow
// enter/leave/tailcall to be turned on at startup without a profiler. See
// code:ProfControlBlock#TestOnlyELT
-EXTERN_C void __stdcall ProfileEnterNaked(UINT_PTR clientData);
-EXTERN_C void __stdcall ProfileLeaveNaked(UINT_PTR clientData);
-EXTERN_C void __stdcall ProfileTailcallNaked(UINT_PTR clientData);
+EXTERN_C void ProfileEnterNaked(UINT_PTR clientData);
+EXTERN_C void ProfileLeaveNaked(UINT_PTR clientData);
+EXTERN_C void ProfileTailcallNaked(UINT_PTR clientData);
#endif //PROF_TEST_ONLY_FORCE_ELT
// ----------------------------------------------------------------------------