void Init()
{
LIMITED_METHOD_CONTRACT;
- m_pHead = &m_link;
+ m_pHead = PTR_SLink(&m_link);
// NOTE :: fHead variable is template argument
// the following code is a compiled in, only if the fHead flag
// is set to false,
if (!fHead)
{
- m_pTail = &m_link;
+ m_pTail = PTR_SLink(&m_link);
}
}
SLink *ret = SLink::FindAndRemove(m_pHead, GetLink(pObj), &prior);
if (ret == m_pTail)
- m_pTail = prior;
+ m_pTail = PTR_SLink(prior);
return GetObject(ret);
}
/******************* Compiler-specific glue *******************************/
#ifndef THROW_DECL
-#if defined(_MSC_VER) || defined(__llvm__) || !defined(__cplusplus)
+#if defined(_MSC_VER) || !defined(__cplusplus)
#define THROW_DECL
#else
#define THROW_DECL throw()
VWrite(" :: %S", qSigName.Ptr());
// Keep track of coff overhead.
- if (!wcscmp(W("__DecoratedName"), rcName))
- {
- bCoffSymbol = true;
- g_cbCoffNames += cbValue + 6;
- }
+ if (!wcscmp(W("__DecoratedName"), rcName))
+ {
+ bCoffSymbol = true;
+ g_cbCoffNames += cbValue + 6;
+ }
WriteLine("");
VWriteLine("%s\tLength: %ld", preFix, cbValue);
return FALSE;
if (!type.AsMethodTable()->HasInstantiation()) // shortcut, if it is not generic it can't be Nullable<T>
return FALSE;
- return Nullable::IsNullableForTypeHelper(type.AsMethodTable(), paramMT);
+ return Nullable::IsNullableForTypeHelper(type.AsMethodTable(), paramMT);
}
//===============================================================================
return FALSE;
if (!type.AsMethodTable()->HasInstantiation()) // shortcut, if it is not generic it can't be Nullable<T>
return FALSE;
- return Nullable::IsNullableForTypeHelperNoGC(type.AsMethodTable(), paramMT);
+ return Nullable::IsNullableForTypeHelperNoGC(type.AsMethodTable(), paramMT);
}
//===============================================================================