diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-05-18 12:23:47 +0300 |
---|---|---|
committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-05-18 12:24:28 +0300 |
commit | 154a67f140a8397df77d82cdc80e13b291b8aedd (patch) | |
tree | b2f637ae3b7310aa1004b92d648a906f7f2c59a0 /variable.c | |
parent | bbb84a16fab8e715a108c318e9e0e019339eb972 (diff) |
Rename rb_gc_new_location to rb_gc_location
The function will return new or existing locations depending on whether
or not the object actually moved, so give it a more appropriate name.
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 482b084e38..f09637fb04 100644 --- a/variable.c +++ b/variable.c @@ -2030,7 +2030,7 @@ static void autoload_i_compact(void *ptr) { struct autoload_data_i *p = ptr; - p->feature = rb_gc_new_location(p->feature); + p->feature = rb_gc_location(p->feature); } static void |