mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
gc.c: missing break
* gc.c (obj_memsize_of): T_RATIONAL and T_COMPLEX cannot be an imemo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
575735664b
commit
b7c4e6d11c
1 changed files with 1 additions and 0 deletions
1
gc.c
1
gc.c
|
@ -3408,6 +3408,7 @@ obj_memsize_of(VALUE obj, int use_all_types)
|
||||||
break;
|
break;
|
||||||
case T_RATIONAL:
|
case T_RATIONAL:
|
||||||
case T_COMPLEX:
|
case T_COMPLEX:
|
||||||
|
break;
|
||||||
case T_IMEMO:
|
case T_IMEMO:
|
||||||
if (imemo_type_p(obj, imemo_tmpbuf)) {
|
if (imemo_type_p(obj, imemo_tmpbuf)) {
|
||||||
size += RANY(obj)->as.imemo.alloc.cnt * sizeof(VALUE);
|
size += RANY(obj)->as.imemo.alloc.cnt * sizeof(VALUE);
|
||||||
|
|
Loading…
Reference in a new issue