Add NoData as valid return state for Statements with params
[mono.git] / mono / metadata / sgen-copy-object.h
index 877883cbe9e2f618432e695f82848ba422dc7170..c5589f672e80036859a28a37e14c29db8b8dee15 100644 (file)
 
 #include "mono/utils/mono-compiler.h"
 
-extern long long stat_copy_object_called_nursery;
-extern long long stat_objects_copied_nursery;
+extern guint64 stat_copy_object_called_nursery;
+extern guint64 stat_objects_copied_nursery;
 
-extern long long stat_nursery_copy_object_failed_from_space;
-extern long long stat_nursery_copy_object_failed_forwarded;
-extern long long stat_nursery_copy_object_failed_pinned;
+extern guint64 stat_nursery_copy_object_failed_from_space;
+extern guint64 stat_nursery_copy_object_failed_forwarded;
+extern guint64 stat_nursery_copy_object_failed_pinned;
 
-extern long long stat_slots_allocated_in_vain;
+extern guint64 stat_slots_allocated_in_vain;
 
 /*
  * Copies an object and enqueues it if a queue is given.
@@ -89,10 +89,9 @@ copy_object_no_checks (void *obj, SgenGrayQueue *queue)
                return obj;
        }
 
-#ifdef SGEN_MARK_ON_ENQUEUE
        if (!has_references)
                queue = NULL;
-#endif
+
        par_copy_object_no_checks (destination, vt, obj, objsize, queue);
        /* FIXME: mark mod union cards if necessary */