From 154a67f140a8397df77d82cdc80e13b291b8aedd Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sat, 18 May 2019 12:23:47 +0300 Subject: 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. --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variable.c') 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 -- cgit v1.2.3