mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
revert r46332 because RVALUE_OLD_P() returns int by r46334
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
75604b077e
commit
29bee7e8ea
2 changed files with 1 additions and 7 deletions
|
@ -27,12 +27,6 @@ Tue Jun 3 16:38:19 2014 Koichi Sasada <ko1@atdot.net>
|
|||
* gc.c (gc_after_sweep): do gc_verify_internal_consistency()
|
||||
when RGENGC_CHECK_MODE >= 2.
|
||||
|
||||
Tue Jun 3 16:33:27 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (rb_gc_force_recycle): we only need to know the result (0/1)
|
||||
of RVALUE_OLD_P(). clang fails to compile it because is_old is
|
||||
`int' but RVALUE_OLD_P() returns VALUE.
|
||||
|
||||
Tue Jun 3 13:14:04 2014 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
|
||||
|
|
2
gc.c
2
gc.c
|
@ -5033,7 +5033,7 @@ rb_gc_force_recycle(VALUE p)
|
|||
rb_objspace_t *objspace = &rb_objspace;
|
||||
|
||||
#if USE_RGENGC
|
||||
int is_old = RVALUE_OLD_P(p) != 0;
|
||||
int is_old = RVALUE_OLD_P(p);
|
||||
|
||||
if (is_old) {
|
||||
objspace->rgengc.old_object_count--;
|
||||
|
|
Loading…
Reference in a new issue