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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | gc.c | 10 |
2 files changed, 4 insertions, 10 deletions
@@ -1,3 +1,7 @@ +Thu Jul 3 04:39:30 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * gc.c (rb_during_gc): VALUE cache is irrelevant. + Thu Jul 3 01:44:01 2008 Yusuke Endoh <mame@tsg.ne.jp> * regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer to @@ -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; } |