summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-07-09 13:02:10 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-07-09 17:28:47 -0700
commit581da51cb5688e9d9fbb8665166b1f4b772068f7 (patch)
tree1ccdffed19b2f976233dc83ba9e939126aa7db7f /vm_method.c
parentf5085c70f25fb1b435ac7d6604fc95492fe9537d (diff)
Fix whitespace on some RB_VM_LOCKING calls
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index d352c86720..4264dc6fbf 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -245,7 +245,8 @@ clear_method_cache_by_id_in_class(VALUE klass, ID mid)
VM_ASSERT_TYPE2(klass, T_CLASS, T_ICLASS);
if (rb_objspace_garbage_object_p(klass)) return;
- RB_VM_LOCKING() { if (LIKELY(RCLASS_SUBCLASSES_FIRST(klass) == NULL)) {
+ RB_VM_LOCKING() {
+ if (LIKELY(RCLASS_SUBCLASSES_FIRST(klass) == NULL)) {
// no subclasses
// check only current class