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-06-05 07:51:43 +0300
committerJan Kotas <jkotas@microsoft.com>2016-06-05 07:51:43 +0300
commit19cd48aa811dfc432d429d3ddc8d13a0da607ecb (patch)
tree91bb57d62d67905c99281bb839413eac9254277a /src/Native/Runtime/portable.cpp
parent6a5ce31a85db741159ef06df9eb2e8c4fe0064e7 (diff)
Implement alloc helpers for Unix (#1360)
These helpers have to be implemented in assembly for non-portable runtime flavor to make stackcrawling work.
Diffstat (limited to 'src/Native/Runtime/portable.cpp')
-rw-r--r--src/Native/Runtime/portable.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Native/Runtime/portable.cpp b/src/Native/Runtime/portable.cpp
index ef6ef0340..22c4bf825 100644
--- a/src/Native/Runtime/portable.cpp
+++ b/src/Native/Runtime/portable.cpp
@@ -70,9 +70,7 @@ COOP_PINVOKE_HELPER(void, RhpPInvokeReturn, (void* pFrame))
{
// TODO: RhpPInvokeReturn
}
-#endif
-#if defined(USE_PORTABLE_HELPERS) || !defined(_WIN32)
//
// Allocations
//
@@ -192,7 +190,7 @@ COOP_PINVOKE_HELPER(Array *, RhpNewArray, (EEType * pArrayEEType, int numElement
return pObject;
}
-#endif // USE_PORTABLE_HELPERS || !_WIN32
+#endif // USE_PORTABLE_HELPERS
COOP_PINVOKE_HELPER(MDArray *, RhNewMDArray, (EEType * pArrayEEType, UInt32 rank, ...))
{