diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 14:49:41 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 14:49:41 +0000 |
commit | 0614a6e5d002edfa8a3cc68cc10b9d861a3f1856 (patch) | |
tree | a6d09e23cadda91137d187103fc44b96cef8df44 /vm_insnhelper.c | |
parent | e4eb6e33428b91c417169d5273e63af9063837c6 (diff) | |
download | ruby-0614a6e5d002edfa8a3cc68cc10b9d861a3f1856.tar.gz |
vm_insinhelper.c: prefer using inlinable function
No major performance impact, but just in case for some platform
that matters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 475514d1f0..cb709df60b 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1013,7 +1013,7 @@ static inline VALUE vm_setivar(VALUE obj, ID id, VALUE val, IC ic, struct rb_call_cache *cc, int is_attr) { #if USE_IC_FOR_IVAR - rb_check_frozen(obj); + rb_check_frozen_internal(obj); if (LIKELY(RB_TYPE_P(obj, T_OBJECT))) { VALUE klass = RBASIC(obj)->klass; |