Fix indentation in switch statement in gc.c
This commit is contained in:
parent
77d3996897
commit
f389a211b5
8
gc.c
8
gc.c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user