summaryrefslogtreecommitdiff
path: root/src/vm/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/object.h')
-rw-r--r--src/vm/object.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vm/object.h b/src/vm/object.h
index fad5f74f39..cb3743cdb9 100644
--- a/src/vm/object.h
+++ b/src/vm/object.h
@@ -634,10 +634,10 @@ class Object
LIMITED_METHOD_CONTRACT;
SUPPORTS_DAC;
- // lose GC marking bit and the pinning bit
+ // lose GC marking bit and the reserved bit
// A method table pointer should always be aligned. During GC we set the least
- // significant bit for marked objects and we set the second to least significant
- // bit for pinned objects. So if we want the actual MT pointer during a GC
+ // significant bit for marked objects, and the second to least significant
+ // bit is reserved. So if we want the actual MT pointer during a GC
// we must zero out the lowest 2 bits.
return dac_cast<PTR_MethodTable>((dac_cast<TADDR>(m_pMethTab)) & ~((UINT_PTR)3));
}
@@ -3012,8 +3012,8 @@ class SafeBuffer : SafeHandle
public:
static FCDECL1(UINT, SizeOfType, ReflectClassBaseObject* typeUNSAFE);
static FCDECL1(UINT, AlignedSizeOfType, ReflectClassBaseObject* typeUNSAFE);
- static FCDECL3(void, PtrToStructure, BYTE* ptr, FC_TypedByRef structure, UINT32 sizeofT);
- static FCDECL3(void, StructureToPtr, FC_TypedByRef structure, BYTE* ptr, UINT32 sizeofT);
+ static FCDECL3_IVI(void, PtrToStructure, BYTE* ptr, FC_TypedByRef structure, UINT32 sizeofT);
+ static FCDECL3_VII(void, StructureToPtr, FC_TypedByRef structure, BYTE* ptr, UINT32 sizeofT);
};
#ifdef USE_CHECKED_OBJECTREFS