Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-08-16 23:15:15 +0300
committerGitHub <noreply@github.com>2016-08-16 23:15:15 +0300
commit7b93a9fea3d9c495238f1755f5b50269fd9a0f54 (patch)
tree9436209a12962c89d345ec46e264a88a3c6bcff2 /src/Native/Runtime/portable.cpp
parent1879db890e89d735682d2c06a98b773cfefe57f1 (diff)
Implement transition thunk for Unix amd64 (#1653)
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r--src/Native/Runtime/portable.cpp10
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;