aboutsummaryrefslogtreecommitdiffstats
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 06:36:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-28 06:36:13 +0000
commit91486538f447fc6240defcc1b262b6b9bb95d5c2 (patch)
treece5e151c9bea826b4b09c2380e995d640e6c25ef /variable.c
parentab0ed404a5b0fa4783b2010232d53f590ae5067d (diff)
downloadruby-91486538f447fc6240defcc1b262b6b9bb95d5c2.tar.gz
error.c: receiver in NameError
* error.c (rb_name_err_new): store the receiver directly. * error.c (name_err_receiver): return directly stored receiver. [Feature #10881] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 97c0932e34..7f3b777f6e 100644
--- a/variable.c
+++ b/variable.c
@@ -1224,7 +1224,7 @@ gen_ivtbl_count(const struct gen_ivtbl *ivtbl)
return n;
}
-static VALUE
+VALUE
rb_ivar_lookup(VALUE obj, ID id, VALUE undef)
{
VALUE val, *ptr;