summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 14:49:41 (GMT)
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-13 14:49:41 (GMT)
commit0614a6e5d002edfa8a3cc68cc10b9d861a3f1856 (patch)
treea6d09e23cadda91137d187103fc44b96cef8df44 /vm_insnhelper.c
parente4eb6e33428b91c417169d5273e63af9063837c6 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 475514d..cb709df 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;