[ruby-cvs:59091] nobu:r51940 (trunk): marshal.c: reduce arity checks
nobu at ruby-lang.org
nobu at ruby-lang.org
Fri Sep 25 22:14:18 JST 2015
nobu 2015-09-25 22:14:16 +0900 (Fri, 25 Sep 2015)
New Revision: 51940
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51940
Log:
marshal.c: reduce arity checks
* marshal.c (rb_marshal_dump_limited): get rid of redundant arity
check to dump object with limited nest level.
* marshal.c (rb_marshal_load_with_proc): get rid of redundant arity
check to load object with hook proc.
Modified files:
trunk/marshal.c
More information about the ruby-cvs
mailing list