aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 07:50:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-07 07:50:11 +0000
commit2b2c6911887d46be7cbfc8520e8cb5ed1843bc12 (patch)
tree760e5a3a57ea50255e5fbdc40585f346108d674f /gc.c
parent22fa19d1dce664814964d55addc3d0181ee863a9 (diff)
downloadruby-2b2c6911887d46be7cbfc8520e8cb5ed1843bc12.tar.gz
vm_core.h: objspace always
* vm_core.h (rb_vm_struct): define objspace always regardless ENABLE_VM_OBJSPACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gc.c b/gc.c
index 0f5e4cff43..9fc3549df4 100644
--- a/gc.c
+++ b/gc.c
@@ -184,9 +184,7 @@ static ruby_gc_params_t gc_params = {
GC_OLDMALLOC_LIMIT_MIN,
GC_OLDMALLOC_LIMIT_MAX,
GC_OLDMALLOC_LIMIT_GROWTH_FACTOR,
-#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
FALSE,
-#endif
};
/* GC_DEBUG:
@@ -1267,9 +1265,7 @@ rb_objspace_alloc(void)
return objspace;
}
-#endif
-#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE
static void free_stack_chunks(mark_stack_t *);
static void heap_page_free(rb_objspace_t *objspace, struct heap_page *page);