diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-09 12:48:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-09 12:48:20 +0000 |
commit | 748abedf9bceae416b5091cac7af34bae57d26ac (patch) | |
tree | 63fe3b7d8f6e37bce5d79e43d20e79981de7877c /ChangeLog | |
parent | 29862685c0acf3a40c6b1f9e8780cbbd86cba658 (diff) | |
download | ruby-748abedf9bceae416b5091cac7af34bae57d26ac.tar.gz |
vm_eval.c: rb_check_funcall_default
* vm_eval.c (rb_check_funcall_default): split from
rb_check_funcall to return the given fallback value.
* object.c (rb_obj_dig): use rb_check_funcall_default so that tail
call optimization will be possible. [Feature #11643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Mon Nov 9 21:48:17 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * vm_eval.c (rb_check_funcall_default): split from + rb_check_funcall to return the given fallback value. + + * object.c (rb_obj_dig): use rb_check_funcall_default so that tail + call optimization will be possible. [Feature #11643] + Mon Nov 9 21:27:23 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_dig): new method Array#dig. |