diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-17 07:28:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-17 07:28:22 +0000 |
commit | 01962439e9450b3d9468030b6e2858767c8c43c0 (patch) | |
tree | 90e8fb659043dfc25d811f568ea819973eac1828 /rational.c | |
parent | 137d08de4b0bb809e13158911587e08605fe576e (diff) | |
download | ruby-01962439e9450b3d9468030b6e2858767c8c43c0.tar.gz |
EXEC_EVENT_HOOK_ORIG: eval the arguments only once
* vm_core.h (EXEC_EVENT_HOOK_ORIG): evaluate each arguments only
once to get rid of inadvertent side effects. fix use of `th`
variable in the second `if` statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions