[ruby-cvs:59250] ko1:r52099 (trunk): * import a github pull request
ko1 at ruby-lang.org
ko1 at ruby-lang.org
Sat Oct 10 15:34:26 JST 2015
ko1 2015-10-10 15:34:24 +0900 (Sat, 10 Oct 2015)
New Revision: 52099
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52099
Log:
* import a github pull request
https://github.com/ruby/ruby/pull/1050
by Kazuho Oku <kazuho at natadeco.co>.
This pull request has the following commits.
* gc.c: reduce # of args to 6 (max. of register args on x86-64) so
that the `newobj_of_slowpass` can be called via TCO.
* gc.c (newobj_of), string.c (str_duplicate): for performance,
the hot functions must be inlined.
* gc.c: for performance, preceding arguments of `.*newobj_of.*`
must be same, so that the arg registers can be reused in case of
TCO.
Modified files:
trunk/ChangeLog
trunk/gc.c
trunk/string.c
More information about the ruby-cvs
mailing list