summaryrefslogtreecommitdiff
path: root/src/zap/zapinfo.cpp
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2016-02-17 11:03:58 -0800
committerdotnet-bot <dotnet-bot@microsoft.com>2016-02-17 11:03:58 -0800
commit6589e221cb6677f4cbf8e94eebddfd390d7f29c4 (patch)
treef4982062b2a5a9a55bbce81fca9fc7d7c5c0265c /src/zap/zapinfo.cpp
parent048ba1a793e96e0fe82597ddde6a792aff9ba58e (diff)
downloadcoreclr-6589e221cb6677f4cbf8e94eebddfd390d7f29c4.tar.gz
coreclr-6589e221cb6677f4cbf8e94eebddfd390d7f29c4.tar.bz2
coreclr-6589e221cb6677f4cbf8e94eebddfd390d7f29c4.zip
Option for Enforcing Intrinsic Expansion
Currently intrinsic is disabled under MIN_OPT while being enabled under OPT. There is no way to enforce intrinsic expansion where non-intrinsic (call) path is not yet implemented. This adds an optional output boolean argument to getIntrinsicID that tells JIT whether to enforce intrinsic expansion. If JIT cannot expand intrinsic for such case, fatal error occurs. There is no functional change the argument is default to false. [tfs-changeset: 1575973]
Diffstat (limited to 'src/zap/zapinfo.cpp')
-rw-r--r--src/zap/zapinfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp
index e0306cd6fe..d26ecf4cba 100644
--- a/src/zap/zapinfo.cpp
+++ b/src/zap/zapinfo.cpp
@@ -4597,9 +4597,10 @@ void ZapInfo::getMethodVTableOffset(CORINFO_METHOD_HANDLE method,
m_pEEJitInfo->getMethodVTableOffset(method, pOffsetOfIndirection, pOffsetAfterIndirection);
}
-CorInfoIntrinsics ZapInfo::getIntrinsicID(CORINFO_METHOD_HANDLE method)
+CorInfoIntrinsics ZapInfo::getIntrinsicID(CORINFO_METHOD_HANDLE method,
+ bool * pMustExpand)
{
- return m_pEEJitInfo->getIntrinsicID(method);
+ return m_pEEJitInfo->getIntrinsicID(method, pMustExpand);
}
bool ZapInfo::isInSIMDModule(CORINFO_CLASS_HANDLE classHnd)