mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust indent
This commit is contained in:
parent
9f941f61ef
commit
09a2189c1b
1 changed files with 221 additions and 221 deletions
8
gc.c
8
gc.c
|
@ -7307,7 +7307,7 @@ gc_is_moveable_obj(rb_objspace_t *objspace, VALUE obj)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
switch(BUILTIN_TYPE(obj)) {
|
||||
switch (BUILTIN_TYPE(obj)) {
|
||||
case T_NONE:
|
||||
case T_NIL:
|
||||
case T_MOVED:
|
||||
|
@ -7819,7 +7819,7 @@ gc_update_values(rb_objspace_t *objspace, long n, VALUE *values)
|
|||
static void
|
||||
gc_ref_update_imemo(rb_objspace_t *objspace, VALUE obj)
|
||||
{
|
||||
switch(imemo_type(obj)) {
|
||||
switch (imemo_type(obj)) {
|
||||
case imemo_env:
|
||||
{
|
||||
rb_env_t *env = (rb_env_t *)obj;
|
||||
|
@ -7977,7 +7977,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj)
|
|||
|
||||
gc_report(4, objspace, "update-refs: %p ->", (void *)obj);
|
||||
|
||||
switch(BUILTIN_TYPE(obj)) {
|
||||
switch (BUILTIN_TYPE(obj)) {
|
||||
case T_CLASS:
|
||||
case T_MODULE:
|
||||
update_m_tbl(objspace, RCLASS_M_TBL(obj));
|
||||
|
@ -8146,7 +8146,7 @@ gc_ref_update(void *vstart, void *vend, size_t stride, void * data)
|
|||
void *poisoned = asan_poisoned_object_p(v);
|
||||
asan_unpoison_object(v, false);
|
||||
|
||||
switch(BUILTIN_TYPE(v)) {
|
||||
switch (BUILTIN_TYPE(v)) {
|
||||
case T_NONE:
|
||||
heap_page_add_freeobj(objspace, page, v);
|
||||
free_slots++;
|
||||
|
|
Loading…
Add table
Reference in a new issue