Clean up PInvokeStubForHost and PInvokeStubForHostInner (#9815)
authorJonghyun Park <parjong@gmail.com>
Mon, 27 Feb 2017 05:21:19 +0000 (14:21 +0900)
committerJan Kotas <jkotas@microsoft.com>
Mon, 27 Feb 2017 05:21:19 +0000 (21:21 -0800)
src/vm/amd64/unixstubs.cpp
src/vm/arm/stubs.cpp
src/vm/arm/unixstubs.cpp
src/vm/dllimport.h
src/vm/i386/unixstubs.cpp

index eba5cc2971663086843b9801ac8dc44d354d769f..29041490845c57075fdfcd07c432456745e727e0 100644 (file)
@@ -11,16 +11,6 @@ extern "C"
         PORTABILITY_ASSERT("Implement for PAL");
     }
 
-    void PInvokeStubForHost()
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
-    void PInvokeStubForHostInner(DWORD dwStackSize, LPVOID pStackFrame, LPVOID pTarget)
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
     void ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID)    
     {
         PORTABILITY_ASSERT("Implement for PAL");
index 2051d130c0415b0230f281d6c5900932deee2fdc..c276d2187726d9ae02c6e25c635f9b0a2baa8cfb 100644 (file)
@@ -2481,12 +2481,6 @@ void HijackFrame::UpdateRegDisplay(const PREGDISPLAY pRD)
 }
 #endif
 
-void PInvokeStubForHost(void)
-{ 
-    // Hosted P/Invoke is not implemented on ARM. See ARMTODO in code:CorHost2::SetHostControl.
-    UNREACHABLE();
-}
-
 class UMEntryThunk * UMEntryThunk::Decode(void *pCallback)
 {
     _ASSERTE(offsetof(UMEntryThunkCode, m_code) == 0);
index 8a68103bae39c7793ceb174731d4fd0d0d7bdef0..62f60473abf1e34326fde4e6a3aa6aff04fee075 100644 (file)
@@ -11,11 +11,6 @@ extern "C"
         PORTABILITY_ASSERT("Implement for PAL");
     }
 
-    void PInvokeStubForHostInner(DWORD dwStackSize, LPVOID pStackFrame, LPVOID pTarget)
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
     void RedirectForThreadAbort()
     {
         PORTABILITY_ASSERT("Implement for PAL");
index 8d14aff9c771990c539a53c46d9ba25b1ddc005b..c9d1fbf4824310241746c74fd1faef2f6edb739d 100644 (file)
@@ -572,12 +572,6 @@ protected:
     DWORD               m_dwStubFlags;
 };
 
-#ifndef _TARGET_X86_
-// The one static host for stub used on !_TARGET_X86_
-EXTERN_C void PInvokeStubForHost(void);
-#endif
-
-
 class NDirectStubParameters
 {
 public:
index 30cb66d3249caeb7bd97d9363b9fceaaec46c99d..9c695b9c02003645da8d9a5402ee334e0e9f3226 100644 (file)
@@ -16,16 +16,6 @@ extern "C"
         PORTABILITY_ASSERT("Implement for PAL");
     }
 
-    void PInvokeStubForHost()
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
-    void PInvokeStubForHostInner(DWORD dwStackSize, LPVOID pStackFrame, LPVOID pTarget)
-    {
-        PORTABILITY_ASSERT("Implement for PAL");
-    }
-
     void ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID)    
     {
         PORTABILITY_ASSERT("Implement for PAL");