mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	variable.c: remove FL_ABLE check for generic ivars
Missed this in r50758. * variable.c (generic_ivar_set): remove FL_ABLE check (gen_ivar_copy): ditto [ruby-core:69715] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									3f172356b4
								
							
						
					
					
						commit
						1782dd8cd7
					
				
					 2 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,9 @@
 | 
			
		|||
Wed Jun 24 09:23:03 2015  Eric Wong  <e@80x24.org>
 | 
			
		||||
 | 
			
		||||
	* variable.c (generic_ivar_set): remove FL_ABLE check
 | 
			
		||||
	  (gen_ivar_copy): ditto
 | 
			
		||||
	  [ruby-core:69715]
 | 
			
		||||
 | 
			
		||||
Wed Jun 24 08:28:15 2015  Eric Wong  <e@80x24.org>
 | 
			
		||||
 | 
			
		||||
	* ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1357,7 +1357,7 @@ generic_ivar_set(VALUE obj, ID id, VALUE val)
 | 
			
		|||
 | 
			
		||||
    ivup.u.ivtbl->ivptr[ivup.index] = val;
 | 
			
		||||
 | 
			
		||||
    if (FL_ABLE(obj)) RB_OBJ_WRITTEN(obj, Qundef, val);
 | 
			
		||||
    RB_OBJ_WRITTEN(obj, Qundef, val);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VALUE
 | 
			
		||||
| 
						 | 
				
			
			@ -1541,7 +1541,7 @@ gen_ivar_copy(ID id, VALUE val, st_data_t arg)
 | 
			
		|||
    }
 | 
			
		||||
    c->ivtbl->ivptr[ivup.index] = val;
 | 
			
		||||
 | 
			
		||||
    if (FL_ABLE(c->obj)) RB_OBJ_WRITTEN(c->obj, Qundef, val);
 | 
			
		||||
    RB_OBJ_WRITTEN(c->obj, Qundef, val);
 | 
			
		||||
 | 
			
		||||
    return ST_CONTINUE;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue