diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-02 19:39:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-02 19:39:33 +0000 |
commit | 7f637ab96f841a7d03f5b544f1efae50920cc0bf (patch) | |
tree | f84e34b3e24a227c682bcde81dc68937cdd250b0 /gc.c | |
parent | f5e45d00eba0807048491cc7d122bd0723ebafe4 (diff) | |
download | ruby-7f637ab96f841a7d03f5b544f1efae50920cc0bf.tar.gz |
* gc.c (rb_during_gc): VALUE cache is irrelevant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -726,17 +726,7 @@ rb_fill_value_cache(rb_thread_t *th) int rb_during_gc(void) { -#if USE_VALUE_CACHE - rb_thread_t *th = GET_THREAD(); - VALUE v = *th->value_cache_ptr; -#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE - rb_objspace_t *objspace = th->vm->objspace; -#else rb_objspace_t *objspace = &rb_objspace; -#endif -#else - rb_objspace_t *objspace = &rb_objspace; -#endif return during_gc; } |