[sgen] Remove unused parameter
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 1 Jun 2016 18:23:46 +0000 (21:23 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Thu, 19 Jan 2017 22:45:09 +0000 (00:45 +0200)
mono/metadata/sgen-mono.c
mono/sgen/sgen-cardtable.c
mono/sgen/sgen-client.h

index a76e2e6306ea0726ce0c66885d090bcb6d8b742e..7d6a95aca5ec4fd8ac2e5ed555cdfc3b885edefd 100644 (file)
@@ -1631,7 +1631,7 @@ find_next_card (guint8 *card_data, guint8 *end)
 #define ARRAY_OBJ_INDEX(ptr,array,elem_size) (((char*)(ptr) - ((char*)(array) + G_STRUCT_OFFSET (MonoArray, vector))) / (elem_size))
 
 gboolean
-sgen_client_cardtable_scan_object (GCObject *obj, mword block_obj_size, guint8 *cards, ScanCopyContext ctx)
+sgen_client_cardtable_scan_object (GCObject *obj, guint8 *cards, ScanCopyContext ctx)
 {
        MonoVTable *vt = SGEN_LOAD_VTABLE (obj);
        MonoClass *klass = vt->klass;
index 8a85ef97e46fc302a8adc4af3b0197b3e11adaec..3bb55f57da1c88dc71fb3a0a5e29b2ea7aa60012 100644 (file)
@@ -493,7 +493,7 @@ sgen_cardtable_scan_object (GCObject *obj, mword block_obj_size, guint8 *cards,
 {
        HEAVY_STAT (++large_objects);
 
-       if (sgen_client_cardtable_scan_object (obj, block_obj_size, cards, ctx))
+       if (sgen_client_cardtable_scan_object (obj, cards, ctx))
                return;
 
        HEAVY_STAT (++bloby_objects);
index 6d60c3516c6a380c8a2de1c47827a34229ea853a..b1f46068cb3594e91a11309ae72797ada4bc0bc1 100644 (file)
@@ -94,7 +94,7 @@ void sgen_client_ensure_weak_gchandles_accessible (void);
  * parts of the object based on which cards are marked, do so and return TRUE.  Otherwise,
  * return FALSE.
  */
-gboolean sgen_client_cardtable_scan_object (GCObject *obj, mword block_obj_size, guint8 *cards, ScanCopyContext ctx);
+gboolean sgen_client_cardtable_scan_object (GCObject *obj, guint8 *cards, ScanCopyContext ctx);
 
 /*
  * Called after nursery objects have been pinned.  No action is necessary.