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>2017-12-30 19:54:29 +0300
committerGitHub <noreply@github.com>2017-12-30 19:54:29 +0300
commit2c0a57703a96af79b3c7ac4184c737bbb9a6fc09 (patch)
tree2aa9bb62b4f7ef35665e529518459adc5bb81224 /src/Native/Runtime/unix
parent0fae9d362f17b25f3201f23f8e3e2922ddc73b12 (diff)
Cleanup ifdefs (#5156)
* Cleanup ifdefs around RhAllocateThunksMapping * Cleanup FEATURE_DYNAMIC_CODE ifdefs around ICodeManager ICodeManager is not specific to dynamic code anymore
Diffstat (limited to 'src/Native/Runtime/unix')
-rw-r--r--src/Native/Runtime/unix/PalRedhawkUnix.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Native/Runtime/unix/PalRedhawkUnix.cpp b/src/Native/Runtime/unix/PalRedhawkUnix.cpp
index 942dad75f..6d151657e 100644
--- a/src/Native/Runtime/unix/PalRedhawkUnix.cpp
+++ b/src/Native/Runtime/unix/PalRedhawkUnix.cpp
@@ -544,6 +544,7 @@ REDHAWK_PALEXPORT unsigned int REDHAWK_PALAPI PalGetCurrentProcessorNumber()
#endif //HAVE_SCHED_GETCPU
}
+#if !defined(USE_PORTABLE_HELPERS) && !defined(FEATURE_RX_THUNKS)
REDHAWK_PALEXPORT UInt32_BOOL REDHAWK_PALAPI PalAllocateThunksFromTemplate(HANDLE hTemplateModule, uint32_t templateRva, size_t templateSize, void** newThunksOut)
{
PORTABILITY_ASSERT("UNIXTODO: Implement this function");
@@ -553,9 +554,10 @@ REDHAWK_PALEXPORT UInt32_BOOL REDHAWK_PALAPI PalFreeThunksFromTemplate(void *pBa
{
PORTABILITY_ASSERT("UNIXTODO: Implement this function");
}
+#endif // !USE_PORTABLE_HELPERS && !FEATURE_RX_THUNKS
REDHAWK_PALEXPORT UInt32_BOOL REDHAWK_PALAPI PalMarkThunksAsValidCallTargets(
- void *virtualAddress,
+ void *virtualAddress,
int thunkSize,
int thunksPerBlock,
int thunkBlockSize,