mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* iseq.c (iseq_mark): skip outdated cache entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									b587368d71
								
							
						
					
					
						commit
						1612ad9d32
					
				
					 2 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Fri Aug 28 09:34:04 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* iseq.c (iseq_mark): skip outdated cache entries.
 | 
			
		||||
 | 
			
		||||
Fri Aug 28 07:25:25 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* enumerator.c (next_i): typo fixed (reached at end -> reached an
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								iseq.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								iseq.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -108,6 +108,7 @@ iseq_mark(void *ptr)
 | 
			
		|||
	    struct iseq_inline_cache_entry *const ic = &iseq->ic_entries[i];
 | 
			
		||||
	    RUBY_MARK_UNLESS_NULL(ic->ic_class);
 | 
			
		||||
	    RUBY_MARK_UNLESS_NULL(ic->ic_value);
 | 
			
		||||
	    if (ic->ic_vmstat != GET_VM_STATE_VERSION()) continue;
 | 
			
		||||
	    if (ic->ic_method) {
 | 
			
		||||
		rb_gc_mark_method_entry(ic->ic_method);
 | 
			
		||||
	    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue