diff options
author | Peter Zhu <[email protected]> | 2024-04-10 16:32:49 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-04-10 16:32:49 -0400 |
commit | f389a211b54aa86ec6f2a9edc641836eced96332 (patch) | |
tree | 9dbf6b538310336a1ac8353a0acb7d80536a6bdb | |
parent | 77d3996897ce57dba6d8dda9fd3503e7d0fe3c2f (diff) |
Fix indentation in switch statement in gc.c
-rw-r--r-- | gc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -9363,15 +9363,15 @@ gc_set_candidate_object_i(void *vstart, void *vend, size_t stride, void *data) for (; v != (VALUE)vend; v += stride) { asan_unpoisoning_object(v) { switch (BUILTIN_TYPE(v)) { - case T_NONE: - case T_ZOMBIE: + case T_NONE: + case T_ZOMBIE: break; - case T_STRING: + case T_STRING: // precompute the string coderange. This both save time for when it will be // eventually needed, and avoid mutating heap pages after a potential fork. rb_enc_str_coderange(v); // fall through - default: + default: if (!RVALUE_OLD_P(v) && !RVALUE_WB_UNPROTECTED(v)) { RVALUE_AGE_SET_CANDIDATE(objspace, v); } |