diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-03-30 02:25:15 +0900 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-03-29 10:25:15 -0700 |
commit | 4cd34ab9504fae49506ccaea61b2dbba03710a40 (patch) | |
tree | 3378b22305c0a3a71e5280fe972dd510e7af6bfb /src/classlibnative | |
parent | 1c4fda612e8a4f0d48346c477d058fa3fddf514e (diff) | |
download | coreclr-4cd34ab9504fae49506ccaea61b2dbba03710a40.tar.gz coreclr-4cd34ab9504fae49506ccaea61b2dbba03710a40.tar.bz2 coreclr-4cd34ab9504fae49506ccaea61b2dbba03710a40.zip |
[x86/Linux] Use Portable ArrayInitializeWorker (#10550)
Diffstat (limited to 'src/classlibnative')
-rw-r--r-- | src/classlibnative/bcltype/arraynative.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classlibnative/bcltype/arraynative.cpp b/src/classlibnative/bcltype/arraynative.cpp index 53a3654e41..c54d2f3c31 100644 --- a/src/classlibnative/bcltype/arraynative.cpp +++ b/src/classlibnative/bcltype/arraynative.cpp @@ -175,7 +175,7 @@ void ArrayInitializeWorker(ARRAYBASEREF * arrayRef, PCODE ctorFtn = pCanonMT->GetSlot(slot); -#ifdef _X86_ +#if defined(_TARGET_X86_) && !defined(FEATURE_PAL) BEGIN_CALL_TO_MANAGED(); @@ -206,7 +206,7 @@ void ArrayInitializeWorker(ARRAYBASEREF * arrayRef, } END_CALL_TO_MANAGED(); -#else // _X86_ +#else // _TARGET_X86_ && !FEATURE_PAL // // This is quite a bit slower, but it is portable. // @@ -230,7 +230,7 @@ void ArrayInitializeWorker(ARRAYBASEREF * arrayRef, offset += size; } -#endif // _X86_ +#endif // !_TARGET_X86_ || FEATURE_PAL } |