diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-08-16 23:15:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-16 23:15:15 +0300 |
commit | 7b93a9fea3d9c495238f1755f5b50269fd9a0f54 (patch) | |
tree | 9436209a12962c89d345ec46e264a88a3c6bcff2 /src/Native/Runtime/portable.cpp | |
parent | 1879db890e89d735682d2c06a98b773cfefe57f1 (diff) |
Implement transition thunk for Unix amd64 (#1653)
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r-- | src/Native/Runtime/portable.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Native/Runtime/portable.cpp b/src/Native/Runtime/portable.cpp index f3f8d279a..9028a1df0 100644 --- a/src/Native/Runtime/portable.cpp +++ b/src/Native/Runtime/portable.cpp @@ -232,14 +232,6 @@ COOP_PINVOKE_HELPER(void, RhpInterfaceDispatch64, ()) ASSERT_UNCONDITIONALLY("NYI"); } -typedef UIntTarget (*TargetFunc2)(UIntTarget, UIntTarget); -COOP_PINVOKE_HELPER(UIntTarget, ManagedCallout2, (UIntTarget argument1, UIntTarget argument2, void *pTargetMethod, void *pPreviousManagedFrame)) -{ - TargetFunc2 target = (TargetFunc2)pTargetMethod; - return (*target)(argument1, argument2); -} -#endif // USE_PORTABLE_HELPERS - // @TODO Implement UniversalTransition EXTERN_C void * ReturnFromUniversalTransition; void * ReturnFromUniversalTransition; @@ -248,6 +240,8 @@ void * ReturnFromUniversalTransition; EXTERN_C void * ReturnFromUniversalTransition_DebugStepTailCall; void * ReturnFromUniversalTransition_DebugStepTailCall; +#endif // USE_PORTABLE_HELPERS + // @TODO Implement CallDescrThunk EXTERN_C void * ReturnFromCallDescrThunk; void * ReturnFromCallDescrThunk; |