summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-06-12 15:15:20 +0200
committerJean Boussier <[email protected]>2025-06-12 17:08:22 +0200
commitde4b9103815926bb43d5af3f0cb5dbea3749fe2f ()
tree6a249f3e61df018d58011b6d1da2ed385d6ae8f1 /vm.c
parente070d93573967423064707e09b566a33dd14a0e3 (diff)
Get rid of GET_SHAPE_TREE()
It's a useless indirection.
Notes: Merged: https://.com/ruby/ruby/pull/13596
-rw-r--r--vm.c4
1 files changed, 2 insertions, 2 deletions
@@ -736,8 +736,8 @@ vm_stat(int argc, VALUE *argv, VALUE self)
SET(constant_cache_invalidations, ruby_vm_constant_cache_invalidations);
SET(constant_cache_misses, ruby_vm_constant_cache_misses);
SET(global_cvar_state, ruby_vm_global_cvar_state);
- SET(next_shape_id, (rb_serial_t)GET_SHAPE_TREE()->next_shape_id);
- SET(shape_cache_size, (rb_serial_t)GET_SHAPE_TREE()->cache_size);
#undef SET
#if USE_DEBUG_COUNTER