size_t i;
for (i = 0; i < section->num_scan_start; ++i) {
if (section->scan_starts [i]) {
- guint size = safe_object_get_size ((MonoObject*) section->scan_starts [i]);
+ mword size = safe_object_get_size ((MonoObject*) section->scan_starts [i]);
g_assert (size >= sizeof (MonoObject) && size <= MAX_SMALL_OBJ_SIZE);
}
}
SgenRemeberedSet *sgen_get_remset (void) MONO_INTERNAL;
-static guint /*__attribute__((noinline)) not sure if this hint is a good idea*/
+static mword /*__attribute__((noinline)) not sure if this hint is a good idea*/
slow_object_get_size (MonoVTable *vtable, MonoObject* o)
{
MonoClass *klass = vtable->klass;
* vtable field, is not intact. This is necessary for the parallel
* collector.
*/
-static inline guint
+static inline mword
sgen_par_object_get_size (MonoVTable *vtable, MonoObject* o)
{
mword descr = (mword)vtable->gc_descr;
return slow_object_get_size (vtable, o);
}
-static inline guint
+static inline mword
sgen_safe_object_get_size (MonoObject *obj)
{
char *forwarded;