Permalink
Browse files

Clean up PInvokeStubForHost and PInvokeStubForHostInner (#9815)

  • Loading branch information...
1 parent 87ffa9c commit 62fd770f1e7b362081ad50412ad337d79aa53c53 @parjong parjong committed with jkotas Feb 27, 2017
Showing with 0 additions and 37 deletions.
  1. +0 −10 src/vm/amd64/unixstubs.cpp
  2. +0 −6 src/vm/arm/stubs.cpp
  3. +0 −5 src/vm/arm/unixstubs.cpp
  4. +0 −6 src/vm/dllimport.h
  5. +0 −10 src/vm/i386/unixstubs.cpp
@@ -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");
@@ -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);
@@ -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");
View
@@ -572,12 +572,6 @@ class NDirectStubLinker : public ILStubLinker
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:
@@ -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");

0 comments on commit 62fd770

Please sign in to comment.