summaryrefslogtreecommitdiff
path: root/src/vm/object.inl
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-01-23 22:13:01 +0100
committerJan Kotas <jkotas@microsoft.com>2019-01-23 13:13:01 -0800
commita28b25aacdcd2adb0fdfa70bd869f53ba6565976 (patch)
treed37eeacbb212a5633edabf93300dbcd18980f13f /src/vm/object.inl
parent797888982e264e2ecfbc436f782f2f6704644e84 (diff)
downloadcoreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.tar.gz
coreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.tar.bz2
coreclr-a28b25aacdcd2adb0fdfa70bd869f53ba6565976.zip
Remove all traces of FEATURE_STACK_PROBE. (#22149)
Diffstat (limited to 'src/vm/object.inl')
-rw-r--r--src/vm/object.inl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vm/object.inl b/src/vm/object.inl
index c9b7abd9b0..9652909250 100644
--- a/src/vm/object.inl
+++ b/src/vm/object.inl
@@ -119,7 +119,6 @@ inline void Object::EnumMemoryRegions(void)
FORCEINLINE bool Object::TryEnterObjMonitorSpinHelper()
{
CONTRACTL{
- SO_TOLERANT;
NOTHROW;
GC_NOTRIGGER;
MODE_COOPERATIVE;
@@ -162,7 +161,6 @@ inline /* static */ TypeHandle ArrayBase::GetTypeHandle(MethodTable * pMT)
NOTHROW;
GC_NOTRIGGER;
FORBID_FAULT;
- SO_TOLERANT;
SUPPORTS_DAC;
}
CONTRACTL_END
@@ -182,9 +180,6 @@ inline /* static */ TypeHandle ArrayBase::GetTypeHandle(MethodTable * pMT)
// if we have allocated an array object of type T then the ArrayTypeDesc
// for T[] is available and restored
- // @todo This should be turned into a probe with a hard SO when we have one
- // See also: ArrayBase::SetArrayMethodTable, ArrayBase::SetArrayMethodTableForLargeObject and MethodTable::DoFullyLoad
- CONTRACT_VIOLATION(SOToleranceViolation);
// == FailIfNotLoadedOrNotRestored
TypeHandle arrayType = ClassLoader::LoadArrayTypeThrowing(pMT->GetApproxArrayElementTypeHandle(), kind, rank, ClassLoader::DontLoadTypes);
CONSISTENCY_CHECK(!arrayType.IsNull());
@@ -275,7 +270,6 @@ inline /* static */ unsigned ArrayBase::GetLowerBoundsOffset(MethodTable* pMT)
// type is stored in the array or not
inline TypeHandle ArrayBase::GetArrayElementTypeHandle() const
{
- STATIC_CONTRACT_SO_TOLERANT;
STATIC_CONTRACT_NOTHROW;
STATIC_CONTRACT_GC_NOTRIGGER;
STATIC_CONTRACT_FORBID_FAULT;
@@ -329,7 +323,6 @@ inline TypeHandle Object::GetTypeHandle()
NOTHROW;
GC_NOTRIGGER;
FORBID_FAULT;
- SO_TOLERANT;
SUPPORTS_DAC;
}
CONTRACTL_END
@@ -348,7 +341,6 @@ inline TypeHandle Object::GetGCSafeTypeHandle() const
{
NOTHROW;
GC_NOTRIGGER;
- SO_TOLERANT;
MODE_ANY;
}
CONTRACTL_END;