From a72895d6fe164d29ed5a8860a716db4f3de84371 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Mon, 9 Jul 2018 11:11:53 +0300 Subject: i386: Refixed declaration in eetoprofinterfaceimpl.cpp with definition --- src/vm/eetoprofinterfaceimpl.cpp | 6 +++--- src/vm/i386/unixstubs.cpp | 6 +++--- src/vm/profilinghelper.cpp | 6 +++--- 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 // ---------------------------------------------------------------------------- -- cgit v1.2.3