diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-10 06:34:24 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-10 06:34:24 +0000 |
commit | e8ba0b7b0437fbb62c09d2fb2cbf83aed2df6a65 (patch) | |
tree | c432ae2cf675aa4ab9c469090b7e2a2792e16b1d /vm_insnhelper.c | |
parent | 1331f80a1e420a5d0644efb78559e1647e58ffb8 (diff) | |
download | ruby-e8ba0b7b0437fbb62c09d2fb2cbf83aed2df6a65.tar.gz |
* import a github pull request
https://github.com/ruby/ruby/pull/1050
by Kazuho Oku <kazuho@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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions