diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 13:46:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 13:46:41 +0000 |
commit | e5a7c2db988db967140da2e11bdf8bb8e85d7769 (patch) | |
tree | 166b511cff19346eb98877fb00dcd759d4a82e75 /error.c | |
parent | 3b895e8355b06facb4e80b27e527d560af4fd65a (diff) | |
download | ruby-e5a7c2db988db967140da2e11bdf8bb8e85d7769.tar.gz |
get rid of function calls in RSTRING_PTR
* process.c (rlimit_resource_type, rlimit_resource_value): get rid
of function calls in RSTRING_PTR(), as it evaluates the argument
twice.
* re.c (match_backref_number): ditto.
* signal.c (esignal_init, rb_f_kill, trap_signm): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
0 files changed, 0 insertions, 0 deletions