mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
remove unused declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									dd124a0f84
								
							
						
					
					
						commit
						8f1c81c610
					
				
					 2 changed files with 6 additions and 3 deletions
				
			
		|  | @ -1,3 +1,8 @@ | |||
| Sun Aug  5 21:10:36 2012  Narihiro Nakamura  <authornari@gmail.com> | ||||
| 
 | ||||
| 	* gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined. | ||||
| 	  remove unused declarations. | ||||
| 
 | ||||
| Sun Aug  5 19:31:57 2012  Narihiro Nakamura  <authornari@gmail.com> | ||||
| 
 | ||||
| 	* gc.c: just move functions and so on. I don't touch any internal | ||||
|  |  | |||
							
								
								
									
										4
									
								
								gc.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								gc.c
									
										
									
									
									
								
							|  | @ -346,6 +346,7 @@ static VALUE lazy_sweep_enable(void); | |||
| static int garbage_collect(rb_objspace_t *); | ||||
| static int gc_lazy_sweep(rb_objspace_t *); | ||||
| static void mark_tbl(rb_objspace_t *, st_table *, int); | ||||
| static void rest_sweep(rb_objspace_t *); | ||||
| 
 | ||||
| static double getrusage_time(void); | ||||
| static inline void gc_prof_timer_start(rb_objspace_t *); | ||||
|  | @ -377,9 +378,6 @@ rb_objspace_alloc(void) | |||
| #endif | ||||
| 
 | ||||
| #if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE | ||||
| static void gc_sweep(rb_objspace_t *); | ||||
| static void slot_sweep(rb_objspace_t *, struct heaps_slot *); | ||||
| static void rest_sweep(rb_objspace_t *); | ||||
| static void aligned_free(void *); | ||||
| 
 | ||||
| void | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nari
						nari