1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

w_bigfixnum is used only for large FIXNUM

This commit is contained in:
Nobuyoshi Nakada 2022-09-02 22:11:12 +09:00
parent 0d2422cf63
commit 5044832fec
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -756,6 +756,7 @@ w_objivar(VALUE obj, struct dump_call_arg *arg)
w_ivar_each(obj, num, arg);
}
#if SIZEOF_LONG > 4
// Optimized dump for fixnum larger than 31-bits
static void
w_bigfixnum(VALUE obj, struct dump_arg *arg)
@ -803,6 +804,7 @@ w_bigfixnum(VALUE obj, struct dump_arg *arg)
RUBY_ASSERT(num == 0);
}
#endif
static void
w_remember(VALUE obj, struct dump_arg *arg)