aboutsummaryrefslogtreecommitdiff
path: root/builtins/table.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-08-04 17:31:33 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-08-04 17:31:33 -0400
commit73000498674ea2a72204c0e137c45bdfa7afd524 (patch)
treeeff10c278e5ee932e0d2a7f410a144f875ffdea3 /builtins/table.c
parent7fd74553f8df574740ab930491baade7223fe5c2 (diff)
Switch to TABLE_INCREF
Diffstat (limited to 'builtins/table.c')
-rw-r--r--builtins/table.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/builtins/table.c b/builtins/table.c
index e0c94593..f3f97ec3 100644
--- a/builtins/table.c
+++ b/builtins/table.c
@@ -107,12 +107,6 @@ static void maybe_copy_on_write(table_t *t, const TypeInfo *type)
}
}
-public void Table$mark_copy_on_write(table_t *t)
-{
- ARRAY_INCREF(t->entries);
- if (t->bucket_info) t->bucket_info->data_refcount = TABLE_MAX_DATA_REFCOUNT;
-}
-
// Return address of value or NULL
public void *Table$get_raw(table_t t, const void *key, const TypeInfo *type)
{