summaryrefslogtreecommitdiff
path: root/src/classlibnative
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-03-30 02:25:15 +0900
committerJan Kotas <jkotas@microsoft.com>2017-03-29 10:25:15 -0700
commit4cd34ab9504fae49506ccaea61b2dbba03710a40 (patch)
tree3378b22305c0a3a71e5280fe972dd510e7af6bfb /src/classlibnative
parent1c4fda612e8a4f0d48346c477d058fa3fddf514e (diff)
downloadcoreclr-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.cpp6
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
}