mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* compile.c, insns.def, vm.c, vm_core.h: remove some insns
(undef, alias, definemethod). Call RubyVM::FrozenCore's singleton method instead. Add "putiseq" and "putspecialobject" instructions. * id.c, id.h: add ids for above. * tool/parse.rb: "VM" no longer exists. Use RubyVM instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									5c8ab4d9c2
								
							
						
					
					
						commit
						eb33f91cb7
					
				
					 8 changed files with 150 additions and 88 deletions
				
			
		
							
								
								
									
										6
									
								
								id.c
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								id.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -68,4 +68,10 @@ Init_id(void)
 | 
			
		|||
 | 
			
		||||
    idRespond_to = rb_intern("respond_to?");
 | 
			
		||||
    idInitialize = rb_intern("initialize");
 | 
			
		||||
 | 
			
		||||
    id_core_set_method_alias = rb_intern("core_set_method_alias");
 | 
			
		||||
    id_core_set_variable_alias = rb_intern("core_set_variable_alias");
 | 
			
		||||
    id_core_undef_method = rb_intern("core_undef_method");
 | 
			
		||||
    id_core_define_method = rb_intern("core_define_method");
 | 
			
		||||
    id_core_define_singleton_method = rb_intern("core_define_singleton_method");
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue