mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
OBJ_WRITTEN() accepts only VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									12592f7e01
								
							
						
					
					
						commit
						667a519db3
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
Thu Oct 31 14:09:32 2013  Koichi Sasada  <ko1@atdot.net>
 | 
			
		||||
 | 
			
		||||
	* vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
 | 
			
		||||
	  OBJ_WRITTEN() accepts only VALUE.
 | 
			
		||||
 | 
			
		||||
Wed Oct 30 19:07:57 2013  Akinori MUSHA  <knu@iDaemons.org>
 | 
			
		||||
 | 
			
		||||
	* misc/ruby-additional.el (ruby-brace-to-do-end)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -323,7 +323,7 @@ rb_method_entry_make(VALUE klass, ID mid, rb_method_type_t type,
 | 
			
		|||
 | 
			
		||||
	switch(def->type) {
 | 
			
		||||
	  case VM_METHOD_TYPE_ISEQ:
 | 
			
		||||
	    OBJ_WRITTEN(klass, Qundef, def->body.iseq);
 | 
			
		||||
	    OBJ_WRITTEN(klass, Qundef, def->body.iseq->self);
 | 
			
		||||
	    break;
 | 
			
		||||
	  case VM_METHOD_TYPE_IVAR:
 | 
			
		||||
	    OBJ_WRITTEN(klass, Qundef, def->body.attr.location);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue