From 83fa220c1a5294d688592cfbdff993cf18e9b7d4 Mon Sep 17 00:00:00 2001 From: Mark Probst Date: Fri, 1 May 2015 13:28:46 -0700 Subject: [PATCH] [sgen] Fix heavy binary protocol. --- mono/metadata/sgen-client-mono.h | 12 ++++++------ mono/sgen/sgen-protocol-def.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mono/metadata/sgen-client-mono.h b/mono/metadata/sgen-client-mono.h index 3c253eea885..e986ae0c2ed 100644 --- a/mono/metadata/sgen-client-mono.h +++ b/mono/metadata/sgen-client-mono.h @@ -570,6 +570,11 @@ sgen_client_binary_protocol_cleanup (gpointer ptr, gpointer vtable, size_t size) { } +static void G_GNUC_UNUSED +sgen_client_binary_protocol_dislink_add (gpointer link, gpointer obj, gboolean track) +{ +} + static void G_GNUC_UNUSED sgen_client_binary_protocol_dislink_update (gpointer link, gpointer obj, gboolean track) { @@ -587,12 +592,7 @@ sgen_client_binary_protocol_dislink_update (gpointer link, gpointer obj, gboolea } static void G_GNUC_UNUSED -sgen_client_binary_protocol_dislink_update_staged (gpointer link, gpointer obj, gboolean track, int index) -{ -} - -static void G_GNUC_UNUSED -sgen_client_binary_protocol_dislink_process_staged (gpointer link, gpointer obj, int index) +sgen_client_binary_protocol_dislink_remove (gpointer link, gboolean track) { } diff --git a/mono/sgen/sgen-protocol-def.h b/mono/sgen/sgen-protocol-def.h index fec52341131..9f8f9bcd6eb 100644 --- a/mono/sgen/sgen-protocol-def.h +++ b/mono/sgen/sgen-protocol-def.h @@ -321,7 +321,7 @@ MATCH_INDEX (ptr == entry->link ? 0 : ptr == entry->obj ? 1 : BINARY_PROTOCOL_NO IS_VTABLE_MATCH (FALSE) END_PROTOCOL_ENTRY_HEAVY -BEGIN_PROTOCOL_ENTRY_HEAVY2 (binary_protocol_dislink_remove, TYPE_POINTER, link, TYPE_INT, track) +BEGIN_PROTOCOL_ENTRY_HEAVY2 (binary_protocol_dislink_remove, TYPE_POINTER, link, TYPE_BOOL, track) DEFAULT_PRINT () IS_ALWAYS_MATCH (FALSE) MATCH_INDEX (ptr == entry->link ? 0 : BINARY_PROTOCOL_NO_MATCH) -- 2.25.1