summaryrefslogtreecommitdiff
path: root/src/zap/zapimage.cpp
diff options
context:
space:
mode:
authorFei Peng <fei.peng@intel.com>2017-09-24 10:54:56 -0700
committerJan Kotas <jkotas@microsoft.com>2017-09-29 14:23:43 -0700
commit03c5c252281325e5a7b94cec6a198946f903b359 (patch)
tree44e3e04572c86ba2e6714e70dca3613a854ce6d4 /src/zap/zapimage.cpp
parent4252e77681840228d95318e920d649bb5b27ea82 (diff)
downloadcoreclr-03c5c252281325e5a7b94cec6a198946f903b359.tar.gz
coreclr-03c5c252281325e5a7b94cec6a198946f903b359.tar.bz2
coreclr-03c5c252281325e5a7b94cec6a198946f903b359.zip
Enable hardware intrinsic in debug and reflection
Diffstat (limited to 'src/zap/zapimage.cpp')
-rw-r--r--src/zap/zapimage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zap/zapimage.cpp b/src/zap/zapimage.cpp
index 96fa81fba1..98b9e9224d 100644
--- a/src/zap/zapimage.cpp
+++ b/src/zap/zapimage.cpp
@@ -3560,6 +3560,12 @@ void ZapImage::Error(mdToken token, HRESULT hr, UINT resID, LPCWSTR message)
level = CORZAP_LOGLEVEL_INFO;
}
+ if (resID == IDS_EE_HWINTRINSIC_NGEN_DISALLOWED)
+ {
+ // Supress printing of "Hardware intrinsics may not be used with ngen."
+ level = CORZAP_LOGLEVEL_INFO;
+ }
+
#ifdef CROSSGEN_COMPILE
if ((resID == IDS_IBC_MISSING_EXTERNAL_TYPE) ||
(resID == IDS_IBC_MISSING_EXTERNAL_METHOD))