diff options
Diffstat (limited to 'src/debug/di/rsclass.cpp')
-rw-r--r-- | src/debug/di/rsclass.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/debug/di/rsclass.cpp b/src/debug/di/rsclass.cpp index ff8246685c..99fac5ef4f 100644 --- a/src/debug/di/rsclass.cpp +++ b/src/debug/di/rsclass.cpp @@ -253,7 +253,7 @@ HRESULT CordbClass::GetStaticFieldValue2(CordbModule * pModule, return hr; } } - else if (!pFieldData->m_fFldIsTLS && !pFieldData->m_fFldIsContextStatic) + else if (!pFieldData->m_fFldIsTLS) { // Statics never move, so we always address them using their absolute address. _ASSERTE(pFieldData->OkToGetOrSetStaticAddress()); @@ -269,7 +269,6 @@ HRESULT CordbClass::GetStaticFieldValue2(CordbModule * pModule, // Thread-local and context-local statics cannot be added with EnC, so we shouldn't be here // if this is an EnC field is thread- or context-local. _ASSERTE(!pFieldData->m_fFldIsTLS ); - _ASSERTE(!pFieldData->m_fFldIsContextStatic ); } else { @@ -331,8 +330,7 @@ HRESULT CordbClass::GetStaticFieldValue2(CordbModule * pModule, bool fIsBoxed = (fIsValueClass && !pFieldData->m_fFldIsRVA && !pFieldData->m_fFldIsPrimitive && - !pFieldData->m_fFldIsTLS && - !pFieldData->m_fFldIsContextStatic); + !pFieldData->m_fFldIsTLS); TargetBuffer remoteValue(pRmtStaticValue, CordbValue::GetSizeForType(pType, fIsBoxed ? kBoxed : kUnboxed)); ICorDebugValue * pValue; |