diff options
author | Dan Moseley <danmose@microsoft.com> | 2017-02-15 21:50:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 21:50:01 -0800 |
commit | a9b25d4aa22a1f4ad5f323f6c826e318f5a720fe (patch) | |
tree | 600b6247757dd489f397fbf25140c36c5abc5e86 /src/vm/prestub.cpp | |
parent | e50207b834d9946027828f8c3b3467e29ac2efb1 (diff) | |
parent | 7354ac5aded67f20b9d2edd5b49ff7f4992ae15d (diff) | |
download | coreclr-a9b25d4aa22a1f4ad5f323f6c826e318f5a720fe.tar.gz coreclr-a9b25d4aa22a1f4ad5f323f6c826e318f5a720fe.tar.bz2 coreclr-a9b25d4aa22a1f4ad5f323f6c826e318f5a720fe.zip |
Merge pull request #9603 from danmosemsft/defines4
Remove more dead native defines
Diffstat (limited to 'src/vm/prestub.cpp')
-rw-r--r-- | src/vm/prestub.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/vm/prestub.cpp b/src/vm/prestub.cpp index 67a184f4af..2f84b9df9d 100644 --- a/src/vm/prestub.cpp +++ b/src/vm/prestub.cpp @@ -17,9 +17,6 @@ #include "eeconfig.h" #include "dllimport.h" #include "comdelegate.h" -#ifdef FEATURE_REMOTING -#include "remoting.h" -#endif #include "dbginterface.h" #include "listlock.inl" #include "stubgen.h" @@ -1296,13 +1293,6 @@ PCODE MethodDesc::DoPrestub(MethodTable *pDispatchingMT) { pStub = MakeUnboxingStubWorker(this); } -#ifdef FEATURE_REMOTING - else if (pMT->IsInterface() && !IsStatic() && !IsFCall()) - { - pCode = CRemotingServices::GetDispatchInterfaceHelper(this); - GetOrCreatePrecode(); - } -#endif // FEATURE_REMOTING #if defined(FEATURE_SHARE_GENERIC_CODE) else if (IsInstantiatingStub()) { @@ -1571,24 +1561,6 @@ PCODE MethodDesc::DoPrestub(MethodTable *pDispatchingMT) // stub that performs declarative checks prior to calling the real stub. // record if security needs to intercept this call (also depends on whether we plan to use stubs for declarative security) -#if !defined( HAS_REMOTING_PRECODE) && defined (FEATURE_REMOTING) - /************************** REMOTING *************************/ - - // check for MarshalByRef scenarios ... we need to intercept - // Non-virtual calls on MarshalByRef types - if (fRemotingIntercepted) - { - // let us setup a remoting stub to intercept all the calls - Stub *pRemotingStub = CRemotingServices::GetStubForNonVirtualMethod(this, - (pStub != NULL) ? (LPVOID)pStub->GetEntryPoint() : (LPVOID)pCode, pStub); - - if (pRemotingStub != NULL) - { - pStub = pRemotingStub; - pCode = NULL; - } - } -#endif // HAS_REMOTING_PRECODE _ASSERTE((pStub != NULL) ^ (pCode != NULL)); |