diff options
author | Jean Boussier <[email protected]> | 2025-04-27 08:05:43 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-04-27 11:59:28 +0200 |
commit | 3ec7bfff2e7ac4f6f69d26676edcfd2e73ea3b05 (patch) | |
tree | e5f836790fc027fb7d30bb6388f10ae4464b6e40 /vm_core.h | |
parent | 6874b289a199db74fac4126cbefe7cfac491cda0 (diff) |
Use a `set_table` for `rb_vm_struct.unused_block_warning_table`
Now that we have a hash-set implementation we can use that
instead of a hash-table with a static value.
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -120,6 +120,7 @@ extern int ruby_assert_critical_section_entered; #include "internal/basic_operators.h" #include "internal/sanitizers.h" #include "internal/serial.h" +#include "internal/set_table.h" #include "internal/vm.h" #include "method.h" #include "node.h" @@ -791,7 +792,7 @@ typedef struct rb_vm_struct { st_table *ci_table; struct rb_id_table *negative_cme_table; st_table *overloaded_cme_table; // cme -> overloaded_cme - st_table *unused_block_warning_table; + set_table *unused_block_warning_table; // This id table contains a mapping from ID to ICs. It does this with ID // keys and nested st_tables as values. The nested tables have ICs as keys |